#180434#180434

#180434 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.088 H 296.2°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#180434
RGBrgb(24, 4, 52)
HSLhsl(265, 86%, 11%)
HSVhsv(265, 92%, 20%)
CMYKcmyk(53.8%, 92.3%, 0%, 79.6%)
CIE-LABlab(4.78, 21.44, -26.50)
CIE-LCHlch(4.78, 34.09, 308.97°)
OKLaboklab(18.52% 0.0387 -0.0788)
OKLCHoklch(18.52% 0.088 296.2)
XYZxyz(1.0398, 0.5289, 3.2955)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180434 #203404
analogous
#040834 #180434 #300434
triadic
#180434 #341804 #043418
tetradic
#180434 #340408 #203404 #043430
square
#180434 #340408 #203404 #043430
split-complementary
#180434 #343004 #083404
monochromatic
#0D021C #0D021C #180434 #32086D #4C0DA6

Accessibility & contrast

On white

18.99
#180434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180434
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180434#FFFFFF#000000##FFFFFF
##1804341.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#10111C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180434;
/* rgb */ color: rgb(24, 4, 52);
/* oklch */ color: oklch(18.5% 0.088 296.2);
Tailwind
colors: {
  custom: {
    50: '#58476c',
    500: '#180434',
    950: '#000000',
  },
}
SCSS
$custom: #180434;
$custom-light: #58476c;
$custom-dark: #000000;
JSON
{
  "hex": "#180434",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 265,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.1852,
    "c": 0.08778,
    "h": 296.2
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#180434
secondary
#51761E
accent
#FC2CA5
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #180434

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#180434 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva