#1E022D#1E022D

#1E022D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.085 H 310.9°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#1E022D
RGBrgb(30, 2, 45)
HSLhsl(279, 91%, 9%)
HSVhsv(279, 96%, 18%)
CMYKcmyk(33.3%, 95.6%, 0%, 82.4%)
CIE-LABlab(4.60, 21.89, -21.53)
CIE-LCHlch(4.60, 30.70, 315.48°)
OKLaboklab(18.33% 0.0558 -0.0643)
OKLCHoklch(18.33% 0.085 310.9)
XYZxyz(1.0307, 0.5089, 2.5261)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E022D #112D02
analogous
#09022D #1E022D #2D0227
triadic
#1E022D #2D1E02 #022D1E
tetradic
#1E022D #2D0902 #112D02 #02272D
square
#1E022D #2D0902 #112D02 #02272D
split-complementary
#1E022D #272D02 #022D09
monochromatic
#14011D #14011D #1E022D #450568 #6C07A2

Accessibility & contrast

On white

19.06
#1E022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1E022D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E022D
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E022D#FFFFFF#000000##FFFFFF
##1E022D1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#1C0B17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e022d;
/* rgb */ color: rgb(30, 2, 45);
/* oklch */ color: oklch(18.3% 0.085 310.9);
Tailwind
colors: {
  custom: {
    50: '#5b4766',
    500: '#1e022d',
    950: '#000000',
  },
}
SCSS
$custom: #1e022d;
$custom-light: #5b4766;
$custom-dark: #000000;
JSON
{
  "hex": "#1e022d",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 279.07,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18332,
    "c": 0.08509,
    "h": 310.9
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#1E022D
secondary
#387219
accent
#FF2974
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E022D

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

Preview Lab → · Contrast checker → · Palette generator →

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