#1E105D#1E105D

#1E105D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.127 H 281.0°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#1E105D
RGBrgb(30, 16, 93)
HSLhsl(251, 71%, 21%)
HSVhsv(251, 83%, 36%)
CMYKcmyk(67.7%, 82.8%, 0%, 63.5%)
CIE-LABlab(12.20, 30.93, -43.06)
CIE-LCHlch(12.20, 53.02, 305.69°)
OKLaboklab(25.69% 0.0242 -0.1243)
OKLCHoklch(25.69% 0.127 281)
XYZxyz(2.6959, 1.4367, 10.4891)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E105D #4F5D10
analogous
#10295D #1E105D #45105D
triadic
#1E105D #5D1E10 #105D1E
tetradic
#1E105D #5D1029 #4F5D10 #105D45
square
#1E105D #5D1029 #4F5D10 #105D45
split-complementary
#1E105D #5D4510 #295D10
monochromatic
#08041A #0D0729 #1E105D #2F1991 #4022C5

Accessibility & contrast

On white

16.31
#1E105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E105D
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E105D#FFFFFF#000000##FFFFFF
##1E105D1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e105d;
/* rgb */ color: rgb(30, 16, 93);
/* oklch */ color: oklch(25.7% 0.127 281.0);
Tailwind
colors: {
  custom: {
    50: '#64508c',
    500: '#1e105d',
    950: '#000000',
  },
}
SCSS
$custom: #1e105d;
$custom-light: #64508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e105d",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 250.909,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25686,
    "c": 0.1266,
    "h": 281
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#1E105D
secondary
#849633
accent
#ED3ACD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E105D

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

Preview Lab → · Contrast checker → · Palette generator →

#1E105D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva