#120432#120432

#120432 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.085 H 289.3°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#120432
RGBrgb(18, 4, 50)
HSLhsl(258, 85%, 11%)
HSVhsv(258, 92%, 20%)
CMYKcmyk(64%, 92%, 0%, 80.4%)
CIE-LABlab(4.03, 18.21, -26.26)
CIE-LCHlch(4.03, 31.96, 304.74°)
OKLaboklab(17.47% 0.028 -0.0802)
OKLCHoklch(17.47% 0.085 289.3)
XYZxyz(0.8684, 0.4457, 3.0573)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120432 #243204
analogous
#040D32 #120432 #290432
triadic
#120432 #321204 #043212
tetradic
#120432 #32040D #243204 #043229
square
#120432 #32040D #243204 #043229
split-complementary
#120432 #322904 #0D3204
monochromatic
#0A021C #0A021C #120432 #26096B #3B0DA3

Accessibility & contrast

On white

19.28
#120432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120432
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120432#FFFFFF#000000##FFFFFF
##1204321.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120432;
/* rgb */ color: rgb(18, 4, 50);
/* oklch */ color: oklch(17.5% 0.085 289.3);
Tailwind
colors: {
  custom: {
    50: '#53486a',
    500: '#120432',
    950: '#000000',
  },
}
SCSS
$custom: #120432;
$custom-light: #53486a;
$custom-dark: #000000;
JSON
{
  "hex": "#120432",
  "rgb": {
    "r": 18,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 258.261,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17472,
    "c": 0.08493,
    "h": 289.3
  },
  "luminance": 0.00446
}

Semantic roles & 50–950 ramp

primary
#120432
secondary
#5A741D
accent
#FB2CBC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #120432

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

Preview Lab → · Contrast checker → · Palette generator →

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