#120332#120332

#120332 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.087 H 289.8°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#120332
RGBrgb(18, 3, 50)
HSLhsl(259, 89%, 10%)
HSVhsv(259, 94%, 20%)
CMYKcmyk(64%, 94%, 0%, 80.4%)
CIE-LABlab(3.83, 18.62, -26.57)
CIE-LCHlch(3.83, 32.45, 305.02°)
OKLaboklab(17.25% 0.0294 -0.0817)
OKLCHoklch(17.25% 0.087 289.8)
XYZxyz(0.8576, 0.4240, 3.0536)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120332 #233203
analogous
#030B32 #120332 #290332
triadic
#120332 #321203 #033212
tetradic
#120332 #32030B #233203 #033229
square
#120332 #32030B #233203 #033229
split-complementary
#120332 #322903 #0B3203
monochromatic
#0A021D #0A021D #120332 #27066C #3C0AA5

Accessibility & contrast

On white

19.36
#120332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#120332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120332
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120332#FFFFFF#000000##FFFFFF
##1203321.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E33
Deuteranopia (green-blind)
#000C31
Tritanopia (blue-blind)
#06101A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #120332;
/* rgb */ color: rgb(18, 3, 50);
/* oklch */ color: oklch(17.3% 0.087 289.8);
Tailwind
colors: {
  custom: {
    50: '#53476a',
    500: '#120332',
    950: '#000000',
  },
}
SCSS
$custom: #120332;
$custom-light: #53476a;
$custom-dark: #000000;
JSON
{
  "hex": "#120332",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 259.149,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17254,
    "c": 0.08681,
    "h": 289.8
  },
  "luminance": 0.00424
}

Semantic roles & 50–950 ramp

primary
#120332
secondary
#59751B
accent
#FF29BB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #120332

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

Preview Lab → · Contrast checker → · Palette generator →

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