#120333#120333

#120333 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.088 H 289.2°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#120333
RGBrgb(18, 3, 51)
HSLhsl(259, 89%, 11%)
HSVhsv(259, 94%, 20%)
CMYKcmyk(64.7%, 94.1%, 0%, 80%)
CIE-LABlab(3.91, 19.15, -27.19)
CIE-LCHlch(3.91, 33.26, 305.16°)
OKLaboklab(17.38% 0.029 -0.0832)
OKLCHoklch(17.38% 0.088 289.2)
XYZxyz(0.8794, 0.4327, 3.1685)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120333 #243303
analogous
#030C33 #120333 #2A0333
triadic
#120333 #331203 #033312
tetradic
#120333 #33030C #243303 #03332A
square
#120333 #33030C #243303 #03332A
split-complementary
#120333 #332A03 #0C3303
monochromatic
#0A021D #0A021D #120333 #26066D #3B0AA7

Accessibility & contrast

On white

19.33
#120333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#120333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120333
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120333#FFFFFF#000000##FFFFFF
##1203331.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F34
Deuteranopia (green-blind)
#000D32
Tritanopia (blue-blind)
#05101B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #120333;
/* rgb */ color: rgb(18, 3, 51);
/* oklch */ color: oklch(17.4% 0.088 289.2);
Tailwind
colors: {
  custom: {
    50: '#53476b',
    500: '#120333',
    950: '#000000',
  },
}
SCSS
$custom: #120333;
$custom-light: #53476b;
$custom-dark: #000000;
JSON
{
  "hex": "#120333",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 258.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1738,
    "c": 0.08813,
    "h": 289.2
  },
  "luminance": 0.00433
}

Semantic roles & 50–950 ramp

primary
#120333
secondary
#5A761C
accent
#FF29BC
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #120333

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

Preview Lab → · Contrast checker → · Palette generator →

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