#12093F#12093F

#12093F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.096 H 281.0°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#12093F
RGBrgb(18, 9, 63)
HSLhsl(250, 75%, 14%)
HSVhsv(250, 86%, 25%)
CMYKcmyk(71.4%, 85.7%, 0%, 75.3%)
CIE-LABlab(6.17, 22.29, -32.27)
CIE-LCHlch(6.17, 39.22, 304.62°)
OKLaboklab(19.98% 0.0182 -0.0939)
OKLCHoklch(19.98% 0.096 281)
XYZxyz(1.2441, 0.6828, 4.7679)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12093F #363F09
analogous
#091B3F #12093F #2D093F
triadic
#12093F #3F1209 #093F12
tetradic
#12093F #3F091B #363F09 #093F2D
square
#12093F #3F091B #363F09 #093F2D
split-complementary
#12093F #3F2D09 #1B3F09
monochromatic
#08041B #08041B #12093F #211175 #3118AA

Accessibility & contrast

On white

18.48
#12093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#12093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12093F
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12093F#FFFFFF#000000##FFFFFF
##12093F1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #12093f;
/* rgb */ color: rgb(18, 9, 63);
/* oklch */ color: oklch(20.0% 0.096 281.0);
Tailwind
colors: {
  custom: {
    50: '#574a75',
    500: '#12093f',
    950: '#000000',
  },
}
SCSS
$custom: #12093f;
$custom-light: #574a75;
$custom-dark: #000000;
JSON
{
  "hex": "#12093f",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 250,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19984,
    "c": 0.09566,
    "h": 281
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#12093F
secondary
#6F7D27
accent
#F236D2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12093F

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

Preview Lab → · Contrast checker → · Palette generator →

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