#1E052E#1E052E

#1E052E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.080 H 308.8°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#1E052E
RGBrgb(30, 5, 46)
HSLhsl(277, 80%, 10%)
HSVhsv(277, 89%, 18%)
CMYKcmyk(34.8%, 89.1%, 0%, 82%)
CIE-LABlab(5.26, 20.88, -21.24)
CIE-LCHlch(5.26, 29.78, 314.52°)
OKLaboklab(19% 0.0499 -0.0622)
OKLCHoklch(19% 0.08 308.8)
XYZxyz(1.0827, 0.5818, 2.6395)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E052E #152E05
analogous
#09052E #1E052E #2E052A
triadic
#1E052E #2E1E05 #052E1E
tetradic
#1E052E #2E0905 #152E05 #052A2E
square
#1E052E #2E0905 #152E05 #052A2E
split-complementary
#1E052E #2A2E05 #052E09
monochromatic
#12031C #12031C #1E052E #420B65 #66119C

Accessibility & contrast

On white

18.81
#1E052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1E052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E052E
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E052E#FFFFFF#000000##FFFFFF
##1E052E1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#1C0E18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e052e;
/* rgb */ color: rgb(30, 5, 46);
/* oklch */ color: oklch(19.0% 0.080 308.8);
Tailwind
colors: {
  custom: {
    50: '#5b4867',
    500: '#1e052e',
    950: '#000000',
  },
}
SCSS
$custom: #1e052e;
$custom-light: #5b4867;
$custom-dark: #000000;
JSON
{
  "hex": "#1e052e",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 276.585,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.18999,
    "c": 0.07975,
    "h": 308.8
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#1E052E
secondary
#3F701F
accent
#F7317E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E052E

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

Preview Lab → · Contrast checker → · Palette generator →

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