#1E1064#1E1064

#1E1064 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.136 H 279.3°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#1E1064
RGBrgb(30, 16, 100)
HSLhsl(250, 72%, 23%)
HSVhsv(250, 84%, 39%)
CMYKcmyk(70%, 84%, 0%, 60.8%)
CIE-LABlab(13.02, 33.26, -46.37)
CIE-LCHlch(13.02, 57.07, 305.65°)
OKLaboklab(26.51% 0.022 -0.1339)
OKLCHoklch(26.51% 0.136 279.3)
XYZxyz(3.0202, 1.5665, 12.1973)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1064 #566410
analogous
#102C64 #1E1064 #481064
triadic
#1E1064 #641E10 #10641E
tetradic
#1E1064 #64102C #566410 #106448
square
#1E1064 #64102C #566410 #106448
split-complementary
#1E1064 #644810 #2C6410
monochromatic
#08041A #0E082F #1E1064 #2E1899 #3E21CE

Accessibility & contrast

On white

15.99
#1E1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1064
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1064#FFFFFF#000000##FFFFFF
##1E10641.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001E63
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1064;
/* rgb */ color: rgb(30, 16, 100);
/* oklch */ color: oklch(26.5% 0.136 279.3);
Tailwind
colors: {
  custom: {
    50: '#665191',
    500: '#1e1064',
    950: '#000000',
  },
}
SCSS
$custom: #1e1064;
$custom-light: #665191;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1064",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 250,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26506,
    "c": 0.1357,
    "h": 279.3
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#1E1064
secondary
#8B9D33
accent
#EF39D1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1E1064

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

Preview Lab → · Contrast checker → · Palette generator →

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