#120026#120026

#120026 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.0% C 0.079 H 301.5°. Best body text is #FFFFFF at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#120026
RGBrgb(18, 0, 38)
HSLhsl(268, 100%, 7%)
HSVhsv(268, 100%, 15%)
CMYKcmyk(52.6%, 100%, 0%, 85.1%)
CIE-LABlab(2.43, 14.09, -19.68)
CIE-LCHlch(2.43, 24.21, 305.60°)
OKLaboklab(14.99% 0.0414 -0.0677)
OKLCHoklch(14.99% 0.079 301.5)
XYZxyz(0.5992, 0.2685, 1.8536)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120026 #142600
analogous
#000126 #120026 #250026
triadic
#120026 #261200 #002612
tetradic
#120026 #260001 #142600 #002625
square
#120026 #260001 #142600 #002625
split-complementary
#120026 #262500 #012600
monochromatic
#0E001F #0E001F #120026 #2F0063 #4C00A0

Accessibility & contrast

On white

19.93
#120026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#120026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120026
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120026#FFFFFF#000000##FFFFFF
##1200261.0019.931.0519.93
#FFFFFF19.931.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000927
Deuteranopia (green-blind)
#000925
Tritanopia (blue-blind)
#0D0812
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #120026;
/* rgb */ color: rgb(18, 0, 38);
/* oklch */ color: oklch(15.0% 0.079 301.5);
Tailwind
colors: {
  custom: {
    50: '#504660',
    500: '#120026',
    950: '#000000',
  },
}
SCSS
$custom: #120026;
$custom-light: #504660;
$custom-dark: #000000;
JSON
{
  "hex": "#120026",
  "rgb": {
    "r": 18,
    "g": 0,
    "b": 38
  },
  "hsl": {
    "h": 268.421,
    "s": 100,
    "l": 7.451
  },
  "oklch": {
    "l": 0.14988,
    "c": 0.07935,
    "h": 301.5
  },
  "luminance": 0.00269
}

Semantic roles & 50–950 ramp

primary
#120026
secondary
#436E13
accent
#FF299A
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020005
muted
#787779

Preview Lab

Preview with #120026

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

Preview Lab → · Contrast checker → · Palette generator →

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