#18083B#18083B

#18083B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.091 H 290.1°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#18083B
RGBrgb(24, 8, 59)
HSLhsl(259, 76%, 13%)
HSVhsv(259, 86%, 23%)
CMYKcmyk(59.3%, 86.4%, 0%, 76.9%)
CIE-LABlab(6.17, 22.52, -29.36)
CIE-LCHlch(6.17, 37.00, 307.50°)
OKLaboklab(20.02% 0.0311 -0.0851)
OKLCHoklch(20.02% 0.091 290.1)
XYZxyz(1.2527, 0.6836, 4.2028)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18083B #2B3B08
analogous
#08113B #18083B #31083B
triadic
#18083B #3B1808 #083B18
tetradic
#18083B #3B0811 #2B3B08 #083B31
square
#18083B #3B0811 #2B3B08 #083B31
split-complementary
#18083B #3B3108 #113B08
monochromatic
#0B041B #0B041B #18083B #2E0F71 #4417A7

Accessibility & contrast

On white

18.47
#18083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#18083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18083B
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18083B#FFFFFF#000000##FFFFFF
##18083B1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#0B1621
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #18083b;
/* rgb */ color: rgb(24, 8, 59);
/* oklch */ color: oklch(20.0% 0.091 290.1);
Tailwind
colors: {
  custom: {
    50: '#594971',
    500: '#18083b',
    950: '#000000',
  },
}
SCSS
$custom: #18083b;
$custom-light: #594971;
$custom-dark: #000000;
JSON
{
  "hex": "#18083b",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 258.824,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2002,
    "c": 0.09065,
    "h": 290.1
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#18083B
secondary
#5F7A25
accent
#F335B7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #18083B

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

Preview Lab → · Contrast checker → · Palette generator →

#18083B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva