#1E1152#1E1152

#1E1152 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.111 H 283.9°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1152
RGBrgb(30, 17, 82)
HSLhsl(252, 66%, 19%)
HSVhsv(252, 79%, 32%)
CMYKcmyk(63.4%, 79.3%, 0%, 67.8%)
CIE-LABlab(11.18, 26.60, -37.29)
CIE-LCHlch(11.18, 45.81, 305.50°)
OKLaboklab(24.6% 0.0266 -0.1074)
OKLCHoklch(24.6% 0.111 283.9)
XYZxyz(2.2584, 1.2860, 8.1102)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1152 #455211
analogous
#112552 #1E1152 #3F1152
triadic
#1E1152 #521E11 #11521E
tetradic
#1E1152 #521125 #455211 #11523F
square
#1E1152 #521125 #455211 #11523F
split-complementary
#1E1152 #523F11 #255211
monochromatic
#090519 #0B061F #1E1152 #311C85 #4326B7

Accessibility & contrast

On white

16.70
#1E1152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1E1152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1152
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1152#FFFFFF#000000##FFFFFF
##1E11521.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#032330
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e1152;
/* rgb */ color: rgb(30, 17, 82);
/* oklch */ color: oklch(24.6% 0.111 283.9);
Tailwind
colors: {
  custom: {
    50: '#615083',
    500: '#1e1152',
    950: '#000000',
  },
}
SCSS
$custom: #1e1152;
$custom-light: #615083;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1152",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 252,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24596,
    "c": 0.11065,
    "h": 283.9
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#1E1152
secondary
#7A8B34
accent
#E93FC7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1E1152

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

Preview Lab → · Contrast checker → · Palette generator →

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