#1E105F#1E105F

#1E105F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.129 H 280.5°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#1E105F
RGBrgb(30, 16, 95)
HSLhsl(251, 71%, 22%)
HSVhsv(251, 83%, 37%)
CMYKcmyk(68.4%, 83.2%, 0%, 62.7%)
CIE-LABlab(12.43, 31.60, -44.02)
CIE-LCHlch(12.43, 54.19, 305.68°)
OKLaboklab(25.92% 0.0236 -0.127)
OKLCHoklch(25.92% 0.129 280.5)
XYZxyz(2.7856, 1.4726, 10.9617)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E105F #515F10
analogous
#102A5F #1E105F #46105F
triadic
#1E105F #5F1E10 #105F1E
tetradic
#1E105F #5F102A #515F10 #105F46
square
#1E105F #5F102A #515F10 #105F46
split-complementary
#1E105F #5F4610 #2A5F10
monochromatic
#08041A #0D072B #1E105F #2F1993 #3F22C8

Accessibility & contrast

On white

16.22
#1E105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E105F
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E105F#FFFFFF#000000##FFFFFF
##1E105F1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e105f;
/* rgb */ color: rgb(30, 16, 95);
/* oklch */ color: oklch(25.9% 0.129 280.5);
Tailwind
colors: {
  custom: {
    50: '#64518d',
    500: '#1e105f',
    950: '#000000',
  },
}
SCSS
$custom: #1e105f;
$custom-light: #64518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e105f",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 250.633,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25918,
    "c": 0.12922,
    "h": 280.5
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#1E105F
secondary
#869833
accent
#EE3ACE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E105F

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

Preview Lab → · Contrast checker → · Palette generator →

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