#18033B#18033B

#18033B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.098 H 292.1°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#18033B
RGBrgb(24, 3, 59)
HSLhsl(263, 90%, 12%)
HSVhsv(263, 95%, 23%)
CMYKcmyk(59.3%, 94.9%, 0%, 76.9%)
CIE-LABlab(5.19, 25.02, -30.95)
CIE-LCHlch(5.19, 39.80, 308.95°)
OKLaboklab(19.17% 0.0369 -0.091)
OKLCHoklch(19.17% 0.098 292.1)
XYZxyz(1.1984, 0.5750, 4.1847)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18033B #263B03
analogous
#030A3B #18033B #34033B
triadic
#18033B #3B1803 #033B18
tetradic
#18033B #3B030A #263B03 #033B34
square
#18033B #3B030A #263B03 #033B34
split-complementary
#18033B #3B3403 #0A3B03
monochromatic
#0C011D #0C011D #18033B #300675 #4709AF

Accessibility & contrast

On white

18.83
#18033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#18033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18033B
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18033B#FFFFFF#000000##FFFFFF
##18033B1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123D
Deuteranopia (green-blind)
#00103A
Tritanopia (blue-blind)
#0C131F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #18033b;
/* rgb */ color: rgb(24, 3, 59);
/* oklch */ color: oklch(19.2% 0.098 292.1);
Tailwind
colors: {
  custom: {
    50: '#5a4772',
    500: '#18033b',
    950: '#000000',
  },
}
SCSS
$custom: #18033b;
$custom-light: #5a4772;
$custom-dark: #000000;
JSON
{
  "hex": "#18033b",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 262.5,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19165,
    "c": 0.0982,
    "h": 292.1
  },
  "luminance": 0.00575
}

Semantic roles & 50–950 ramp

primary
#18033B
secondary
#597E1C
accent
#FF29AF
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #18033B

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

Preview Lab → · Contrast checker → · Palette generator →

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