#1E1049#1E1049

#1E1049 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.099 H 287.4°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#1E1049
RGBrgb(30, 16, 73)
HSLhsl(255, 64%, 17%)
HSVhsv(255, 78%, 29%)
CMYKcmyk(58.9%, 78.1%, 0%, 71.4%)
CIE-LABlab(10.01, 24.13, -32.99)
CIE-LCHlch(10.01, 40.87, 306.18°)
OKLaboklab(23.48% 0.0297 -0.0948)
OKLCHoklch(23.48% 0.099 287.4)
XYZxyz(1.9230, 1.1275, 6.4184)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1049 #3B4910
analogous
#101E49 #1E1049 #3B1049
triadic
#1E1049 #491E10 #10491E
tetradic
#1E1049 #49101E #3B4910 #10493B
square
#1E1049 #49101E #3B4910 #10493B
split-complementary
#1E1049 #493B10 #1E4910
monochromatic
#0A0619 #0A0619 #1E1049 #331B7B #4726AD

Accessibility & contrast

On white

17.13
#1E1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1E1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1049
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1049#FFFFFF#000000##FFFFFF
##1E10491.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#0D1F2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e1049;
/* rgb */ color: rgb(30, 16, 73);
/* oklch */ color: oklch(23.5% 0.099 287.4);
Tailwind
colors: {
  custom: {
    50: '#5f4f7c',
    500: '#1e1049',
    950: '#000000',
  },
}
SCSS
$custom: #1e1049;
$custom-light: #5f4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1049",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 254.737,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2348,
    "c": 0.09933,
    "h": 287.4
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#1E1049
secondary
#6F8332
accent
#E741BE
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #1E1049

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

Preview Lab → · Contrast checker → · Palette generator →

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