#1E1054#1E1054

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

Color values

HEX#1E1054
RGBrgb(30, 16, 84)
HSLhsl(252, 68%, 20%)
HSVhsv(252, 81%, 33%)
CMYKcmyk(64.3%, 81%, 0%, 67.1%)
CIE-LABlab(11.18, 27.89, -38.65)
CIE-LCHlch(11.18, 47.67, 305.81°)
OKLaboklab(24.67% 0.0269 -0.1114)
OKLCHoklch(24.67% 0.115 283.6)
XYZxyz(2.3205, 1.2865, 8.5118)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1054 #465410
analogous
#102454 #1E1054 #401054
triadic
#1E1054 #541E10 #10541E
tetradic
#1E1054 #541024 #465410 #105440
square
#1E1054 #541024 #465410 #105440
split-complementary
#1E1054 #544010 #245410
monochromatic
#09051A #0C0621 #1E1054 #301A87 #4324BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E1054#FFFFFF#000000##FFFFFF
##1E10541.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)
#002056
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e1054;
/* rgb */ color: rgb(30, 16, 84);
/* oklch */ color: oklch(24.7% 0.115 283.6);
Tailwind
colors: {
  custom: {
    50: '#625085',
    500: '#1e1054',
    950: '#000000',
  },
}
SCSS
$custom: #1e1054;
$custom-light: #625085;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1054",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 252.353,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24665,
    "c": 0.11459,
    "h": 283.6
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#1E1054
secondary
#7B8E32
accent
#EB3DC7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E1054

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

Preview Lab → · Contrast checker → · Palette generator →

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