#18103F#18103F

#18103F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.085 H 284.6°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#18103F
RGBrgb(24, 16, 63)
HSLhsl(250, 59%, 15%)
HSVhsv(250, 75%, 25%)
CMYKcmyk(61.9%, 74.6%, 0%, 75.3%)
CIE-LABlab(8.34, 19.35, -28.70)
CIE-LCHlch(8.34, 34.62, 303.99°)
OKLaboklab(21.81% 0.0215 -0.0825)
OKLCHoklch(21.81% 0.085 284.6)
XYZxyz(1.4589, 0.9236, 4.8031)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18103F #373F10
analogous
#101F3F #18103F #2F103F
triadic
#18103F #3F1810 #103F18
tetradic
#18103F #3F101F #373F10 #103F2F
square
#18103F #3F101F #373F10 #103F2F
split-complementary
#18103F #3F2F10 #1F3F10
monochromatic
#090618 #090618 #18103F #2B1C70 #3D29A1

Accessibility & contrast

On white

17.72
#18103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18103F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18103F#FFFFFF#000000##FFFFFF
##18103F1.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#071C25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #18103f;
/* rgb */ color: rgb(24, 16, 63);
/* oklch */ color: oklch(21.8% 0.085 284.6);
Tailwind
colors: {
  custom: {
    50: '#5a4e74',
    500: '#18103f',
    950: '#000000',
  },
}
SCSS
$custom: #18103f;
$custom-light: #5a4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#18103f",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 250.213,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21805,
    "c": 0.08522,
    "h": 284.6
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#18103F
secondary
#6D7932
accent
#E345C8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18103F

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

Preview Lab → · Contrast checker → · Palette generator →

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