#18103A#18103A

#18103A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.3% C 0.077 H 286.6°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#18103A
RGBrgb(24, 16, 58)
HSLhsl(251, 57%, 15%)
HSVhsv(251, 72%, 23%)
CMYKcmyk(58.6%, 72.4%, 0%, 77.3%)
CIE-LABlab(7.86, 17.50, -25.90)
CIE-LCHlch(7.86, 31.26, 304.05°)
OKLaboklab(21.31% 0.0221 -0.0742)
OKLCHoklch(21.31% 0.077 286.6)
XYZxyz(1.3255, 0.8702, 4.1003)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18103A #323A10
analogous
#101D3A #18103A #2D103A
triadic
#18103A #3A1810 #103A18
tetradic
#18103A #3A101D #323A10 #103A2D
square
#18103A #3A101D #323A10 #103A2D
split-complementary
#18103A #3A2D10 #1D3A10
monochromatic
#0A0718 #0A0718 #18103A #2C1D6A #402A9A

Accessibility & contrast

On white

17.89
#18103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#18103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18103A
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18103A#FFFFFF#000000##FFFFFF
##18103A1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#0B1A23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #18103a;
/* rgb */ color: rgb(24, 16, 58);
/* oklch */ color: oklch(21.3% 0.077 286.6);
Tailwind
colors: {
  custom: {
    50: '#594e70',
    500: '#18103a',
    950: '#000000',
  },
}
SCSS
$custom: #18103a;
$custom-light: #594e70;
$custom-dark: #000000;
JSON
{
  "hex": "#18103a",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 251.429,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21309,
    "c": 0.07743,
    "h": 286.6
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#18103A
secondary
#677432
accent
#E048C3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #18103A

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

Preview Lab → · Contrast checker → · Palette generator →

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