#18083A#18083A

#18083A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.089 H 290.6°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#18083A
RGBrgb(24, 8, 58)
HSLhsl(259, 76%, 13%)
HSVhsv(259, 86%, 23%)
CMYKcmyk(58.6%, 86.2%, 0%, 77.3%)
CIE-LABlab(6.08, 22.11, -28.79)
CIE-LCHlch(6.08, 36.30, 307.53°)
OKLaboklab(19.91% 0.0314 -0.0836)
OKLCHoklch(19.91% 0.089 290.6)
XYZxyz(1.2270, 0.6733, 4.0675)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18083A #2A3A08
analogous
#08113A #18083A #31083A
triadic
#18083A #3A1808 #083A18
tetradic
#18083A #3A0811 #2A3A08 #083A31
square
#18083A #3A0811 #2A3A08 #083A31
split-complementary
#18083A #3A3108 #113A08
monochromatic
#0B041B #0B041B #18083A #2E0F70 #4517A6

Accessibility & contrast

On white

18.51
#18083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#18083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18083A
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18083A#FFFFFF#000000##FFFFFF
##18083A1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#0C1620
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18083a;
/* rgb */ color: rgb(24, 8, 58);
/* oklch */ color: oklch(19.9% 0.089 290.6);
Tailwind
colors: {
  custom: {
    50: '#594971',
    500: '#18083a',
    950: '#000000',
  },
}
SCSS
$custom: #18083a;
$custom-light: #594971;
$custom-dark: #000000;
JSON
{
  "hex": "#18083a",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 259.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19908,
    "c": 0.08927,
    "h": 290.6
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#18083A
secondary
#5E7925
accent
#F235B6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #18083A

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

Preview Lab → · Contrast checker → · Palette generator →

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