#1E1056#1E1056

#1E1056 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.117 H 283.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1E1056
RGBrgb(30, 16, 86)
HSLhsl(252, 69%, 20%)
HSVhsv(252, 81%, 34%)
CMYKcmyk(65.1%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.40, 28.57, -39.65)
CIE-LCHlch(11.40, 48.87, 305.78°)
OKLaboklab(24.89% 0.0263 -0.1143)
OKLCHoklch(24.89% 0.117 283)
XYZxyz(2.3999, 1.3183, 8.9303)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1056 #485610
analogous
#102556 #1E1056 #411056
triadic
#1E1056 #561E10 #10561E
tetradic
#1E1056 #561025 #485610 #105641
square
#1E1056 #561025 #485610 #105641
split-complementary
#1E1056 #564110 #255610
monochromatic
#09051A #0C0622 #1E1056 #301A8A #4223BD

Accessibility & contrast

On white

16.62
#1E1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1056
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1056#FFFFFF#000000##FFFFFF
##1E10561.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e1056;
/* rgb */ color: rgb(30, 16, 86);
/* oklch */ color: oklch(24.9% 0.117 283.0);
Tailwind
colors: {
  custom: {
    50: '#625086',
    500: '#1e1056',
    950: '#000000',
  },
}
SCSS
$custom: #1e1056;
$custom-light: #625086;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1056",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 252,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24888,
    "c": 0.11729,
    "h": 283
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#1E1056
secondary
#7D8F32
accent
#EB3CC8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E1056

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

Preview Lab → · Contrast checker → · Palette generator →

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