#1E105E#1E105E

#1E105E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.8% C 0.128 H 280.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#1E105E
RGBrgb(30, 16, 94)
HSLhsl(251, 71%, 22%)
HSVhsv(251, 83%, 37%)
CMYKcmyk(68.1%, 83%, 0%, 63.1%)
CIE-LABlab(12.32, 31.27, -43.54)
CIE-LCHlch(12.32, 53.61, 305.68°)
OKLaboklab(25.8% 0.0239 -0.1257)
OKLCHoklch(25.8% 0.128 280.8)
XYZxyz(2.7405, 1.4545, 10.7238)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E105E #505E10
analogous
#10295E #1E105E #45105E
triadic
#1E105E #5E1E10 #105E1E
tetradic
#1E105E #5E1029 #505E10 #105E45
square
#1E105E #5E1029 #505E10 #105E45
split-complementary
#1E105E #5E4510 #295E10
monochromatic
#08041A #0D072A #1E105E #2F1992 #3F22C7

Accessibility & contrast

On white

16.27
#1E105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E105E
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E105E#FFFFFF#000000##FFFFFF
##1E105E1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e105e;
/* rgb */ color: rgb(30, 16, 94);
/* oklch */ color: oklch(25.8% 0.128 280.8);
Tailwind
colors: {
  custom: {
    50: '#64508d',
    500: '#1e105e',
    950: '#000000',
  },
}
SCSS
$custom: #1e105e;
$custom-light: #64508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e105e",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 250.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25802,
    "c": 0.12791,
    "h": 280.8
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#1E105E
secondary
#859733
accent
#EE3ACD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E105E

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

Preview Lab → · Contrast checker → · Palette generator →

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