#12092F#12092F

#12092F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.072 H 288.0°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#12092F
RGBrgb(18, 9, 47)
HSLhsl(254, 68%, 11%)
HSVhsv(254, 81%, 18%)
CMYKcmyk(61.7%, 80.9%, 0%, 81.6%)
CIE-LABlab(4.78, 14.62, -22.82)
CIE-LCHlch(4.78, 27.10, 302.65°)
OKLaboklab(18.16% 0.0221 -0.0683)
OKLCHoklch(18.16% 0.072 288)
XYZxyz(0.8601, 0.5292, 2.7456)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12092F #262F09
analogous
#09132F #12092F #25092F
triadic
#12092F #2F1209 #092F12
tetradic
#12092F #2F0913 #262F09 #092F25
square
#12092F #2F0913 #262F09 #092F25
split-complementary
#12092F #2F2509 #132F09
monochromatic
#0A051A #0A051A #12092F #261362 #391D96

Accessibility & contrast

On white

18.99
#12092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#12092F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12092F
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12092F#FFFFFF#000000##FFFFFF
##12092F1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#08121A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #12092f;
/* rgb */ color: rgb(18, 9, 47);
/* oklch */ color: oklch(18.2% 0.072 288.0);
Tailwind
colors: {
  custom: {
    50: '#524a68',
    500: '#12092f',
    950: '#000000',
  },
}
SCSS
$custom: #12092f;
$custom-light: #524a68;
$custom-dark: #000000;
JSON
{
  "hex": "#12092f",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 254.211,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18163,
    "c": 0.07178,
    "h": 288
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#12092F
secondary
#5C6D27
accent
#EB3DC2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #12092F

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

Preview Lab → · Contrast checker → · Palette generator →

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