#1E1058#1E1058

#1E1058 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.120 H 282.4°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#1E1058
RGBrgb(30, 16, 88)
HSLhsl(252, 69%, 20%)
HSVhsv(252, 82%, 35%)
CMYKcmyk(65.9%, 81.8%, 0%, 65.5%)
CIE-LABlab(11.63, 29.25, -40.64)
CIE-LCHlch(11.63, 50.07, 305.74°)
OKLaboklab(25.11% 0.0257 -0.1172)
OKLCHoklch(25.11% 0.12 282.4)
XYZxyz(2.4816, 1.3510, 9.3606)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1058 #4A5810
analogous
#102658 #1E1058 #421058
triadic
#1E1058 #581E10 #10581E
tetradic
#1E1058 #581026 #4A5810 #105842
square
#1E1058 #581026 #4A5810 #105842
split-complementary
#1E1058 #584210 #265810
monochromatic
#09051A #0C0724 #1E1058 #30198C #4123C0

Accessibility & contrast

On white

16.53
#1E1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1E1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1058
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1058#FFFFFF#000000##FFFFFF
##1E10581.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e1058;
/* rgb */ color: rgb(30, 16, 88);
/* oklch */ color: oklch(25.1% 0.120 282.4);
Tailwind
colors: {
  custom: {
    50: '#635088',
    500: '#1e1058',
    950: '#000000',
  },
}
SCSS
$custom: #1e1058;
$custom-light: #635088;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1058",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 251.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25114,
    "c": 0.11997,
    "h": 282.4
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#1E1058
secondary
#7F9132
accent
#EC3CCA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E1058

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

Preview Lab → · Contrast checker → · Palette generator →

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