#1E052B#1E052B

#1E052B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.076 H 311.7°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#1E052B
RGBrgb(30, 5, 43)
HSLhsl(279, 79%, 9%)
HSVhsv(279, 88%, 17%)
CMYKcmyk(30.2%, 88.4%, 0%, 83.1%)
CIE-LABlab(5.05, 19.76, -19.30)
CIE-LCHlch(5.05, 27.63, 315.67°)
OKLaboklab(18.72% 0.0506 -0.0569)
OKLCHoklch(18.72% 0.076 311.7)
XYZxyz(1.0257, 0.5590, 2.3389)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E052B #122B05
analogous
#0B052B #1E052B #2B0525
triadic
#1E052B #2B1E05 #052B1E
tetradic
#1E052B #2B0B05 #122B05 #05252B
square
#1E052B #2B0B05 #122B05 #05252B
split-complementary
#1E052B #252B05 #052B0B
monochromatic
#13031B #13031B #1E052B #440B62 #6B1299

Accessibility & contrast

On white

18.89
#1E052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E052B
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E052B#FFFFFF#000000##FFFFFF
##1E052B1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#02112A
Tritanopia (blue-blind)
#1C0D17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e052b;
/* rgb */ color: rgb(30, 5, 43);
/* oklch */ color: oklch(18.7% 0.076 311.7);
Tailwind
colors: {
  custom: {
    50: '#5b4864',
    500: '#1e052b',
    950: '#000000',
  },
}
SCSS
$custom: #1e052b;
$custom-light: #5b4864;
$custom-dark: #000000;
JSON
{
  "hex": "#1e052b",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 279.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18717,
    "c": 0.07611,
    "h": 311.7
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#1E052B
secondary
#3A6D1F
accent
#F63275
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1E052B

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

Preview Lab → · Contrast checker → · Palette generator →

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