#180333#180333

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

Color values

HEX#180333
RGBrgb(24, 3, 51)
HSLhsl(266, 89%, 11%)
HSVhsv(266, 94%, 20%)
CMYKcmyk(52.9%, 94.1%, 0%, 80%)
CIE-LABlab(4.50, 21.43, -26.21)
CIE-LCHlch(4.50, 33.86, 309.28°)
OKLaboklab(18.21% 0.0407 -0.0785)
OKLCHoklch(18.21% 0.088 297.4)
XYZxyz(1.0066, 0.4983, 3.1745)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180333 #1E3303
analogous
#030633 #180333 #300333
triadic
#180333 #331803 #033318
tetradic
#180333 #330306 #1E3303 #033330
square
#180333 #330306 #1E3303 #033330
split-complementary
#180333 #333003 #063303
monochromatic
#0E021D #0E021D #180333 #33066D #4E0AA7

Accessibility & contrast

On white

19.10
#180333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180333
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180333#FFFFFF#000000##FFFFFF
##1803331.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001034
Deuteranopia (green-blind)
#000F32
Tritanopia (blue-blind)
#11101B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180333;
/* rgb */ color: rgb(24, 3, 51);
/* oklch */ color: oklch(18.2% 0.088 297.4);
Tailwind
colors: {
  custom: {
    50: '#57476b',
    500: '#180333',
    950: '#000000',
  },
}
SCSS
$custom: #180333;
$custom-light: #57476b;
$custom-dark: #000000;
JSON
{
  "hex": "#180333",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 266.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1821,
    "c": 0.08841,
    "h": 297.4
  },
  "luminance": 0.00498
}

Semantic roles & 50–950 ramp

primary
#180333
secondary
#4F761C
accent
#FF29A1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180333

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

Preview Lab → · Contrast checker → · Palette generator →

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