#18033A#18033A

#18033A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.097 H 292.7°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#18033A
RGBrgb(24, 3, 58)
HSLhsl(263, 90%, 12%)
HSVhsv(263, 95%, 23%)
CMYKcmyk(58.6%, 94.8%, 0%, 77.3%)
CIE-LABlab(5.10, 24.58, -30.38)
CIE-LCHlch(5.10, 39.08, 308.98°)
OKLaboklab(19.04% 0.0374 -0.0895)
OKLCHoklch(19.04% 0.097 292.7)
XYZxyz(1.1728, 0.5648, 4.0494)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18033A #253A03
analogous
#030A3A #18033A #34033A
triadic
#18033A #3A1803 #033A18
tetradic
#18033A #3A030A #253A03 #033A34
square
#18033A #3A030A #253A03 #033A34
split-complementary
#18033A #3A3403 #0A3A03
monochromatic
#0C021D #0C021D #18033A #300674 #4809AE

Accessibility & contrast

On white

18.87
#18033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#18033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18033A
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18033A#FFFFFF#000000##FFFFFF
##18033A1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#0C131F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #18033a;
/* rgb */ color: rgb(24, 3, 58);
/* oklch */ color: oklch(19.0% 0.097 292.7);
Tailwind
colors: {
  custom: {
    50: '#594771',
    500: '#18033a',
    950: '#000000',
  },
}
SCSS
$custom: #18033a;
$custom-light: #594771;
$custom-dark: #000000;
JSON
{
  "hex": "#18033a",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 262.909,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19043,
    "c": 0.09698,
    "h": 292.7
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#18033A
secondary
#587D1C
accent
#FF29AD
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #18033A

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

Preview Lab → · Contrast checker → · Palette generator →

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