#120029#120029

#120029 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.083 H 298.6°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#120029
RGBrgb(18, 0, 41)
HSLhsl(266, 100%, 8%)
HSVhsv(266, 100%, 16%)
CMYKcmyk(56.1%, 100%, 0%, 83.9%)
CIE-LABlab(2.61, 15.37, -21.71)
CIE-LCHlch(2.61, 26.60, 305.29°)
OKLaboklab(15.37% 0.0396 -0.0726)
OKLCHoklch(15.37% 0.083 298.6)
XYZxyz(0.6496, 0.2887, 2.1189)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120029 #172900
analogous
#000329 #120029 #260029
triadic
#120029 #291200 #002912
tetradic
#120029 #290003 #172900 #002926
square
#120029 #290003 #172900 #002926
split-complementary
#120029 #292600 #032900
monochromatic
#0D001F #0D001F #120029 #2D0066 #4800A3

Accessibility & contrast

On white

19.85
#120029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#120029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120029
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120029#FFFFFF#000000##FFFFFF
##1200291.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2A
Deuteranopia (green-blind)
#000928
Tritanopia (blue-blind)
#0C0914
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #120029;
/* rgb */ color: rgb(18, 0, 41);
/* oklch */ color: oklch(15.4% 0.083 298.6);
Tailwind
colors: {
  custom: {
    50: '#504663',
    500: '#120029',
    950: '#000000',
  },
}
SCSS
$custom: #120029;
$custom-light: #504663;
$custom-dark: #000000;
JSON
{
  "hex": "#120029",
  "rgb": {
    "r": 18,
    "g": 0,
    "b": 41
  },
  "hsl": {
    "h": 266.341,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1537,
    "c": 0.08267,
    "h": 298.6
  },
  "luminance": 0.00289
}

Semantic roles & 50–950 ramp

primary
#120029
secondary
#487114
accent
#FF29A1
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#020005
muted
#787779

Preview Lab

Preview with #120029

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

Preview Lab → · Contrast checker → · Palette generator →

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