#1E1060#1E1060

#1E1060 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.131 H 280.3°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#1E1060
RGBrgb(30, 16, 96)
HSLhsl(251, 71%, 22%)
HSVhsv(251, 83%, 38%)
CMYKcmyk(68.7%, 83.3%, 0%, 62.4%)
CIE-LABlab(12.55, 31.94, -44.49)
CIE-LCHlch(12.55, 54.77, 305.67°)
OKLaboklab(26.04% 0.0233 -0.1284)
OKLCHoklch(26.04% 0.131 280.3)
XYZxyz(2.8314, 1.4909, 11.2026)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1060 #526010
analogous
#102A60 #1E1060 #461060
triadic
#1E1060 #601E10 #10601E
tetradic
#1E1060 #60102A #526010 #106046
square
#1E1060 #60102A #526010 #106046
split-complementary
#1E1060 #604610 #2A6010
monochromatic
#08041A #0E072C #1E1060 #2E1994 #3F21C9

Accessibility & contrast

On white

16.18
#1E1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1E1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1060
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1060#FFFFFF#000000##FFFFFF
##1E10601.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e1060;
/* rgb */ color: rgb(30, 16, 96);
/* oklch */ color: oklch(26.0% 0.131 280.3);
Tailwind
colors: {
  custom: {
    50: '#65518e',
    500: '#1e1060',
    950: '#000000',
  },
}
SCSS
$custom: #1e1060;
$custom-light: #65518e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1060",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 250.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26035,
    "c": 0.13052,
    "h": 280.3
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#1E1060
secondary
#879933
accent
#EE3ACF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E1060

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

Preview Lab → · Contrast checker → · Palette generator →

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