#12093D#12093D

#12093D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.093 H 281.7°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#12093D
RGBrgb(18, 9, 61)
HSLhsl(250, 74%, 14%)
HSVhsv(250, 85%, 24%)
CMYKcmyk(70.5%, 85.2%, 0%, 76.1%)
CIE-LABlab(5.97, 21.38, -31.16)
CIE-LCHlch(5.97, 37.79, 304.46°)
OKLaboklab(19.74% 0.0188 -0.0909)
OKLCHoklch(19.74% 0.093 281.7)
XYZxyz(1.1892, 0.6608, 4.4789)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12093D #343D09
analogous
#091A3D #12093D #2C093D
triadic
#12093D #3D1209 #093D12
tetradic
#12093D #3D091A #343D09 #093D2C
square
#12093D #3D091A #343D09 #093D2C
split-complementary
#12093D #3D2C09 #1A3D09
monochromatic
#08041B #08041B #12093D #221172 #3119A8

Accessibility & contrast

On white

18.55
#12093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#12093D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12093D
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12093D#FFFFFF#000000##FFFFFF
##12093D1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #12093d;
/* rgb */ color: rgb(18, 9, 61);
/* oklch */ color: oklch(19.7% 0.093 281.7);
Tailwind
colors: {
  custom: {
    50: '#564a73',
    500: '#12093d',
    950: '#000000',
  },
}
SCSS
$custom: #12093d;
$custom-light: #564a73;
$custom-dark: #000000;
JSON
{
  "hex": "#12093d",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 250.385,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19744,
    "c": 0.09279,
    "h": 281.7
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#12093D
secondary
#6C7B27
accent
#F137D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12093D

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

Preview Lab → · Contrast checker → · Palette generator →

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