#12092C#12092C

#12092C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.067 H 289.7°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#12092C
RGBrgb(18, 9, 44)
HSLhsl(255, 66%, 10%)
HSVhsv(255, 80%, 17%)
CMYKcmyk(59.1%, 79.5%, 0%, 82.7%)
CIE-LABlab(4.57, 13.14, -20.91)
CIE-LCHlch(4.57, 24.69, 302.16°)
OKLaboklab(17.85% 0.0226 -0.0631)
OKLCHoklch(17.85% 0.067 289.7)
XYZxyz(0.8016, 0.5058, 2.4378)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12092C #232C09
analogous
#09112C #12092C #23092C
triadic
#12092C #2C1209 #092C12
tetradic
#12092C #2C0911 #232C09 #092C23
square
#12092C #2C0911 #232C09 #092C23
split-complementary
#12092C #2C2309 #112C09
monochromatic
#0A0519 #0A0519 #12092C #27135F #3C1E92

Accessibility & contrast

On white

19.07
#12092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12092C
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12092C#FFFFFF#000000##FFFFFF
##12092C1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#091119
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #12092c;
/* rgb */ color: rgb(18, 9, 44);
/* oklch */ color: oklch(17.8% 0.067 289.7);
Tailwind
colors: {
  custom: {
    50: '#514a65',
    500: '#12092c',
    950: '#000000',
  },
}
SCSS
$custom: #12092c;
$custom-light: #514a65;
$custom-dark: #000000;
JSON
{
  "hex": "#12092c",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 255.429,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1785,
    "c": 0.06704,
    "h": 289.7
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#12092C
secondary
#596A27
accent
#E93FBD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #12092C

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

Preview Lab → · Contrast checker → · Palette generator →

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