#12092E#12092E

#12092E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.070 H 288.5°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#12092E
RGBrgb(18, 9, 46)
HSLhsl(255, 67%, 11%)
HSVhsv(255, 80%, 18%)
CMYKcmyk(60.9%, 80.4%, 0%, 82%)
CIE-LABlab(4.71, 14.12, -22.19)
CIE-LCHlch(4.71, 26.30, 302.47°)
OKLaboklab(18.06% 0.0223 -0.0666)
OKLCHoklch(18.06% 0.07 288.5)
XYZxyz(0.8401, 0.5212, 2.6406)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12092E #252E09
analogous
#09122E #12092E #24092E
triadic
#12092E #2E1209 #092E12
tetradic
#12092E #2E0912 #252E09 #092E24
square
#12092E #2E0912 #252E09 #092E24
split-complementary
#12092E #2E2409 #122E09
monochromatic
#0A051A #0A051A #12092E #261361 #3A1D94

Accessibility & contrast

On white

19.02
#12092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12092E
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12092E#FFFFFF#000000##FFFFFF
##12092E1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#08121A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #12092e;
/* rgb */ color: rgb(18, 9, 46);
/* oklch */ color: oklch(18.1% 0.070 288.5);
Tailwind
colors: {
  custom: {
    50: '#524a67',
    500: '#12092e',
    950: '#000000',
  },
}
SCSS
$custom: #12092e;
$custom-light: #524a67;
$custom-dark: #000000;
JSON
{
  "hex": "#12092e",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 254.595,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18057,
    "c": 0.07021,
    "h": 288.5
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#12092E
secondary
#5B6C27
accent
#EA3EC0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #12092E

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

Preview Lab → · Contrast checker → · Palette generator →

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