#12092A#12092A

#12092A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.064 H 291.0°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#12092A
RGBrgb(18, 9, 42)
HSLhsl(256, 65%, 10%)
HSVhsv(256, 79%, 16%)
CMYKcmyk(57.1%, 78.6%, 0%, 83.5%)
CIE-LABlab(4.44, 12.21, -19.60)
CIE-LCHlch(4.44, 23.10, 301.92°)
OKLaboklab(17.65% 0.0229 -0.0596)
OKLCHoklch(17.65% 0.064 291)
XYZxyz(0.7649, 0.4911, 2.2445)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12092A #212A09
analogous
#09102A #12092A #23092A
triadic
#12092A #2A1209 #092A12
tetradic
#12092A #2A0910 #212A09 #092A23
square
#12092A #2A0910 #212A09 #092A23
split-complementary
#12092A #2A2309 #102A09
monochromatic
#0B0519 #0B0519 #12092A #28145C #3D1F8F

Accessibility & contrast

On white

19.12
#12092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#12092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12092A
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12092A#FFFFFF#000000##FFFFFF
##12092A1.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#0B1118
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #12092a;
/* rgb */ color: rgb(18, 9, 42);
/* oklch */ color: oklch(17.6% 0.064 291.0);
Tailwind
colors: {
  custom: {
    50: '#514a63',
    500: '#12092a',
    950: '#000000',
  },
}
SCSS
$custom: #12092a;
$custom-light: #514a63;
$custom-dark: #000000;
JSON
{
  "hex": "#12092a",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 256.364,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.17648,
    "c": 0.06384,
    "h": 291
  },
  "luminance": 0.00491
}

Semantic roles & 50–950 ramp

primary
#12092A
secondary
#566827
accent
#E840BA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #12092A

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

Preview Lab → · Contrast checker → · Palette generator →

#12092A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva