#1E1157#1E1157

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

Color values

HEX#1E1157
RGBrgb(30, 17, 87)
HSLhsl(251, 67%, 20%)
HSVhsv(251, 80%, 34%)
CMYKcmyk(65.5%, 80.5%, 0%, 65.9%)
CIE-LABlab(11.72, 28.32, -39.80)
CIE-LCHlch(11.72, 48.85, 305.43°)
OKLaboklab(25.15% 0.0252 -0.1148)
OKLCHoklch(25.15% 0.118 282.4)
XYZxyz(2.4556, 1.3649, 9.1490)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1157 #4A5711
analogous
#112757 #1E1157 #411157
triadic
#1E1157 #571E11 #11571E
tetradic
#1E1157 #571127 #4A5711 #115741
square
#1E1157 #571127 #4A5711 #115741
split-complementary
#1E1157 #574111 #275711
monochromatic
#09051A #0C0724 #1E1157 #301B8A #4125BD

Accessibility & contrast

On white

16.50
#1E1157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1157
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1157#FFFFFF#000000##FFFFFF
##1E11571.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001C56
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e1157;
/* rgb */ color: rgb(30, 17, 87);
/* oklch */ color: oklch(25.1% 0.117 282.4);
Tailwind
colors: {
  custom: {
    50: '#625187',
    500: '#1e1157',
    950: '#000000',
  },
}
SCSS
$custom: #1e1157;
$custom-light: #625187;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1157",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 251.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25146,
    "c": 0.1175,
    "h": 282.4
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#1E1157
secondary
#7F9034
accent
#EA3ECA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E1157

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

Preview Lab → · Contrast checker → · Palette generator →

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