#1E105B#1E105B

#1E105B is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.124 H 281.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#1E105B
RGBrgb(30, 16, 91)
HSLhsl(251, 70%, 21%)
HSVhsv(251, 82%, 36%)
CMYKcmyk(67%, 82.4%, 0%, 64.3%)
CIE-LABlab(11.97, 30.26, -42.10)
CIE-LCHlch(11.97, 51.85, 305.71°)
OKLaboklab(25.46% 0.0248 -0.1214)
OKLCHoklch(25.46% 0.124 281.6)
XYZxyz(2.6084, 1.4017, 10.0286)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E105B #4D5B10
analogous
#10275B #1E105B #43105B
triadic
#1E105B #5B1E10 #105B1E
tetradic
#1E105B #5B1027 #4D5B10 #105B43
square
#1E105B #5B1027 #4D5B10 #105B43
split-complementary
#1E105B #5B4310 #275B10
monochromatic
#09051A #0D0727 #1E105B #2F198F #4022C3

Accessibility & contrast

On white

16.40
#1E105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1E105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E105B
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E105B#FFFFFF#000000##FFFFFF
##1E105B1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e105b;
/* rgb */ color: rgb(30, 16, 91);
/* oklch */ color: oklch(25.5% 0.124 281.6);
Tailwind
colors: {
  custom: {
    50: '#63508a',
    500: '#1e105b',
    950: '#000000',
  },
}
SCSS
$custom: #1e105b;
$custom-light: #63508a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e105b",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 251.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25456,
    "c": 0.12396,
    "h": 281.6
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#1E105B
secondary
#829433
accent
#ED3BCC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E105B

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

Preview Lab → · Contrast checker → · Palette generator →

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