#180A33#180A33

#180A33 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.076 H 293.8°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#180A33
RGBrgb(24, 10, 51)
HSLhsl(260, 67%, 12%)
HSVhsv(260, 80%, 20%)
CMYKcmyk(52.9%, 80.4%, 0%, 80%)
CIE-LABlab(5.87, 18.21, -24.00)
CIE-LCHlch(5.87, 30.13, 307.19°)
OKLaboklab(19.5% 0.0308 -0.0698)
OKLCHoklch(19.5% 0.076 293.8)
XYZxyz(1.0826, 0.6503, 3.1998)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A33 #25330A
analogous
#0A1133 #180A33 #2D0A33
triadic
#180A33 #33180A #0A3318
tetradic
#180A33 #330A11 #25330A #0A332D
square
#180A33 #330A11 #25330A #0A332D
split-complementary
#180A33 #332D0A #11330A
monochromatic
#0C051A #0C051A #180A33 #301466 #481E99

Accessibility & contrast

On white

18.58
#180A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A33
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A33#FFFFFF#000000##FFFFFF
##180A331.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#10141D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180a33;
/* rgb */ color: rgb(24, 10, 51);
/* oklch */ color: oklch(19.5% 0.076 293.8);
Tailwind
colors: {
  custom: {
    50: '#574a6b',
    500: '#180a33',
    950: '#000000',
  },
}
SCSS
$custom: #180a33;
$custom-light: #574a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#180a33",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 260.488,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19503,
    "c": 0.07625,
    "h": 293.8
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#180A33
secondary
#587028
accent
#EA3EAF
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180A33

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

Preview Lab → · Contrast checker → · Palette generator →

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