#18093D#18093D

#18093D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.092 H 288.6°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#18093D
RGBrgb(24, 9, 61)
HSLhsl(257, 74%, 14%)
HSVhsv(257, 85%, 24%)
CMYKcmyk(60.7%, 85.2%, 0%, 76.1%)
CIE-LABlab(6.56, 22.83, -30.17)
CIE-LCHlch(6.56, 37.83, 307.11°)
OKLaboklab(20.4% 0.0294 -0.0872)
OKLCHoklch(20.4% 0.092 288.6)
XYZxyz(1.3164, 0.7264, 4.4848)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18093D #2E3D09
analogous
#09143D #18093D #32093D
triadic
#18093D #3D1809 #093D18
tetradic
#18093D #3D0914 #2E3D09 #093D32
square
#18093D #3D0914 #2E3D09 #093D32
split-complementary
#18093D #3D3209 #143D09
monochromatic
#0A041B #0A041B #18093D #2D1172 #4219A8

Accessibility & contrast

On white

18.34
#18093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18093D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18093D#FFFFFF#000000##FFFFFF
##18093D1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#0A1722
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #18093d;
/* rgb */ color: rgb(24, 9, 61);
/* oklch */ color: oklch(20.4% 0.092 288.6);
Tailwind
colors: {
  custom: {
    50: '#5a4a73',
    500: '#18093d',
    950: '#000000',
  },
}
SCSS
$custom: #18093d;
$custom-light: #5a4a73;
$custom-dark: #000000;
JSON
{
  "hex": "#18093d",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 257.308,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20404,
    "c": 0.09204,
    "h": 288.6
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#18093D
secondary
#637B27
accent
#F137BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18093D

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

Preview Lab → · Contrast checker → · Palette generator →

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