#18093C#18093C

#18093C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.091 H 289.1°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#18093C
RGBrgb(24, 9, 60)
HSLhsl(258, 74%, 14%)
HSVhsv(258, 85%, 24%)
CMYKcmyk(60%, 85%, 0%, 76.5%)
CIE-LABlab(6.46, 22.43, -29.61)
CIE-LCHlch(6.46, 37.14, 307.14°)
OKLaboklab(20.29% 0.0297 -0.0856)
OKLCHoklch(20.29% 0.091 289.1)
XYZxyz(1.2897, 0.7157, 4.3443)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18093C #2D3C09
analogous
#09133C #18093C #31093C
triadic
#18093C #3C1809 #093C18
tetradic
#18093C #3C0913 #2D3C09 #093C31
square
#18093C #3C0913 #2D3C09 #093C31
split-complementary
#18093C #3C3109 #133C09
monochromatic
#0B041B #0B041B #18093C #2D1171 #4319A6

Accessibility & contrast

On white

18.37
#18093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#18093C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18093C
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18093C#FFFFFF#000000##FFFFFF
##18093C1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#0A1722
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #18093c;
/* rgb */ color: rgb(24, 9, 60);
/* oklch */ color: oklch(20.3% 0.091 289.1);
Tailwind
colors: {
  custom: {
    50: '#5a4a72',
    500: '#18093c',
    950: '#000000',
  },
}
SCSS
$custom: #18093c;
$custom-light: #5a4a72;
$custom-dark: #000000;
JSON
{
  "hex": "#18093c",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 257.647,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20293,
    "c": 0.09065,
    "h": 289.1
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#18093C
secondary
#627A27
accent
#F137BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18093C

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

Preview Lab → · Contrast checker → · Palette generator →

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