#18093F#18093F

#18093F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.095 H 287.7°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#18093F
RGBrgb(24, 9, 63)
HSLhsl(257, 75%, 14%)
HSVhsv(257, 86%, 25%)
CMYKcmyk(61.9%, 85.7%, 0%, 75.3%)
CIE-LABlab(6.76, 23.62, -31.28)
CIE-LCHlch(6.76, 39.20, 307.05°)
OKLaboklab(20.63% 0.0288 -0.0903)
OKLCHoklch(20.63% 0.095 287.7)
XYZxyz(1.3713, 0.7484, 4.7739)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18093F #303F09
analogous
#09153F #18093F #33093F
triadic
#18093F #3F1809 #093F18
tetradic
#18093F #3F0915 #303F09 #093F33
square
#18093F #3F0915 #303F09 #093F33
split-complementary
#18093F #3F3309 #153F09
monochromatic
#0A041B #0A041B #18093F #2C1175 #4118AA

Accessibility & contrast

On white

18.27
#18093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#18093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18093F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18093F#FFFFFF#000000##FFFFFF
##18093F1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#081823
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #18093f;
/* rgb */ color: rgb(24, 9, 63);
/* oklch */ color: oklch(20.6% 0.095 287.7);
Tailwind
colors: {
  custom: {
    50: '#5a4a75',
    500: '#18093f',
    950: '#000000',
  },
}
SCSS
$custom: #18093f;
$custom-light: #5a4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#18093f",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 256.667,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2063,
    "c": 0.09482,
    "h": 287.7
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#18093F
secondary
#657D27
accent
#F236BE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18093F

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

Preview Lab → · Contrast checker → · Palette generator →

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