#180C33#180C33

#180C33 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.073 H 292.7°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#180C33
RGBrgb(24, 12, 51)
HSLhsl(258, 62%, 12%)
HSVhsv(258, 76%, 20%)
CMYKcmyk(52.9%, 76.5%, 0%, 80%)
CIE-LABlab(6.29, 17.22, -23.34)
CIE-LCHlch(6.29, 29.00, 306.42°)
OKLaboklab(19.86% 0.0281 -0.0674)
OKLCHoklch(19.86% 0.073 292.7)
XYZxyz(1.1055, 0.6961, 3.2074)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180C33 #27330C
analogous
#0C1333 #180C33 #2C0C33
triadic
#180C33 #33180C #0C3318
tetradic
#180C33 #330C13 #27330C #0C332C
square
#180C33 #330C13 #27330C #0C332C
split-complementary
#180C33 #332C0C #13330C
monochromatic
#0C0619 #0C0619 #180C33 #2F1865 #472396

Accessibility & contrast

On white

18.43
#180C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#180C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180C33
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180C33#FFFFFF#000000##FFFFFF
##180C331.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#10151E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180c33;
/* rgb */ color: rgb(24, 12, 51);
/* oklch */ color: oklch(19.9% 0.073 292.7);
Tailwind
colors: {
  custom: {
    50: '#574b6b',
    500: '#180c33',
    950: '#000000',
  },
}
SCSS
$custom: #180c33;
$custom-light: #574b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#180c33",
  "rgb": {
    "r": 24,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 258.462,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19861,
    "c": 0.07304,
    "h": 292.7
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#180C33
secondary
#5A6F2C
accent
#E543B3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180C33

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

Preview Lab → · Contrast checker → · Palette generator →

#180C33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva