#1E012F#1E012F

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

Color values

HEX#1E012F
RGBrgb(30, 1, 47)
HSLhsl(278, 96%, 9%)
HSVhsv(278, 98%, 18%)
CMYKcmyk(36.2%, 97.9%, 0%, 81.6%)
CIE-LABlab(4.54, 23.14, -23.12)
CIE-LCHlch(4.54, 32.71, 315.02°)
OKLaboklab(18.34% 0.0569 -0.069)
OKLCHoklch(18.34% 0.089 309.5)
XYZxyz(1.0593, 0.5030, 2.7301)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E012F #122F01
analogous
#07012F #1E012F #2F0129
triadic
#1E012F #2F1E01 #012F1E
tetradic
#1E012F #2F0701 #122F01 #01292F
square
#1E012F #2F0701 #122F01 #01292F
split-complementary
#1E012F #292F01 #012F07
monochromatic
#13011E #13011E #1E012F #44026B #6B04A7

Accessibility & contrast

On white

19.08
#1E012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E012F
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E012F#FFFFFF#000000##FFFFFF
##1E012F1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#1B0B18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e012f;
/* rgb */ color: rgb(30, 1, 47);
/* oklch */ color: oklch(18.3% 0.089 309.5);
Tailwind
colors: {
  custom: {
    50: '#5b4668',
    500: '#1e012f',
    950: '#000000',
  },
}
SCSS
$custom: #1e012f;
$custom-light: #5b4668;
$custom-dark: #000000;
JSON
{
  "hex": "#1e012f",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 277.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18342,
    "c": 0.08948,
    "h": 309.5
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#1E012F
secondary
#3A7517
accent
#FF2978
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E012F

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

Preview Lab → · Contrast checker → · Palette generator →

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