#1E1045#1E1045

#1E1045 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.094 H 289.0°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#1E1045
RGBrgb(30, 16, 69)
HSLhsl(256, 62%, 17%)
HSVhsv(256, 77%, 27%)
CMYKcmyk(56.5%, 76.8%, 0%, 72.9%)
CIE-LABlab(9.61, 22.75, -30.84)
CIE-LCHlch(9.61, 38.33, 306.41°)
OKLaboklab(23.07% 0.0305 -0.0885)
OKLCHoklch(23.07% 0.094 289)
XYZxyz(1.7946, 1.0762, 5.7422)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1045 #374510
analogous
#101D45 #1E1045 #391045
triadic
#1E1045 #451E10 #10451E
tetradic
#1E1045 #45101D #374510 #104539
square
#1E1045 #45101D #374510 #104539
split-complementary
#1E1045 #453910 #1D4510
monochromatic
#0B0619 #0B0619 #1E1045 #341C77 #4927A8

Accessibility & contrast

On white

17.28
#1E1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1E1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1045
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1045#FFFFFF#000000##FFFFFF
##1E10451.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#101D29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e1045;
/* rgb */ color: rgb(30, 16, 69);
/* oklch */ color: oklch(23.1% 0.094 289.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f79',
    500: '#1e1045',
    950: '#000000',
  },
}
SCSS
$custom: #1e1045;
$custom-light: #5f4f79;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1045",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 255.849,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23069,
    "c": 0.09362,
    "h": 289
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#1E1045
secondary
#6B7F32
accent
#E542BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #1E1045

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

Preview Lab → · Contrast checker → · Palette generator →

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