#18113A#18113A

#18113A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.076 H 285.9°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#18113A
RGBrgb(24, 17, 58)
HSLhsl(250, 55%, 15%)
HSVhsv(250, 71%, 23%)
CMYKcmyk(58.6%, 70.7%, 0%, 77.3%)
CIE-LABlab(8.13, 16.78, -25.45)
CIE-LCHlch(8.13, 30.49, 303.40°)
OKLaboklab(21.51% 0.0208 -0.0729)
OKLCHoklch(21.51% 0.076 285.9)
XYZxyz(1.3406, 0.9005, 4.1053)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18113A #333A11
analogous
#111F3A #18113A #2D113A
triadic
#18113A #3A1811 #113A18
tetradic
#18113A #3A111F #333A11 #113A2D
square
#18113A #3A111F #333A11 #113A2D
split-complementary
#18113A #3A2D11 #1F3A11
monochromatic
#0A0718 #0A0718 #18113A #2C1F69 #3F2D99

Accessibility & contrast

On white

17.79
#18113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18113A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18113A#FFFFFF#000000##FFFFFF
##18113A1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#0B1B23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #18113a;
/* rgb */ color: rgb(24, 17, 58);
/* oklch */ color: oklch(21.5% 0.076 285.9);
Tailwind
colors: {
  custom: {
    50: '#594f70',
    500: '#18113a',
    950: '#000000',
  },
}
SCSS
$custom: #18113a;
$custom-light: #594f70;
$custom-dark: #000000;
JSON
{
  "hex": "#18113a",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 250.244,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21509,
    "c": 0.07582,
    "h": 285.9
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#18113A
secondary
#687333
accent
#DE4AC5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #18113A

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

Preview Lab → · Contrast checker → · Palette generator →

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