#1E104D#1E104D

#1E104D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.105 H 285.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#1E104D
RGBrgb(30, 16, 77)
HSLhsl(254, 66%, 18%)
HSVhsv(254, 79%, 30%)
CMYKcmyk(61%, 79.2%, 0%, 69.8%)
CIE-LABlab(10.43, 25.50, -35.09)
CIE-LCHlch(10.43, 43.37, 306.01°)
OKLaboklab(23.9% 0.0287 -0.1009)
OKLCHoklch(23.9% 0.105 285.9)
XYZxyz(2.0599, 1.1823, 7.1394)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E104D #3F4D10
analogous
#10214D #1E104D #3C104D
triadic
#1E104D #4D1E10 #104D1E
tetradic
#1E104D #4D1021 #3F4D10 #104D3C
square
#1E104D #4D1021 #3F4D10 #104D3C
split-complementary
#1E104D #4D3C10 #214D10
monochromatic
#0A0519 #0A051A #1E104D #321B80 #4525B2

Accessibility & contrast

On white

16.98
#1E104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1E104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E104D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E104D#FFFFFF#000000##FFFFFF
##1E104D1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#09202D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1e104d;
/* rgb */ color: rgb(30, 16, 77);
/* oklch */ color: oklch(23.9% 0.105 285.9);
Tailwind
colors: {
  custom: {
    50: '#604f7f',
    500: '#1e104d',
    950: '#000000',
  },
}
SCSS
$custom: #1e104d;
$custom-light: #604f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e104d",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 253.77,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23902,
    "c": 0.10496,
    "h": 285.9
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#1E104D
secondary
#738732
accent
#E93FC2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E104D

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

Preview Lab → · Contrast checker → · Palette generator →

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