#1E032F#1E032F

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

Color values

HEX#1E032F
RGBrgb(30, 3, 47)
HSLhsl(277, 88%, 10%)
HSVhsv(277, 94%, 18%)
CMYKcmyk(36.2%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.94, 22.20, -22.49)
CIE-LCHlch(4.94, 31.61, 314.63°)
OKLaboklab(18.73% 0.0532 -0.0664)
OKLCHoklch(18.73% 0.085 308.7)
XYZxyz(1.0810, 0.5464, 2.7373)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E032F #142F03
analogous
#08032F #1E032F #2F032A
triadic
#1E032F #2F1E03 #032F1E
tetradic
#1E032F #2F0803 #142F03 #032A2F
square
#1E032F #2F0803 #142F03 #032A2F
split-complementary
#1E032F #2A2F03 #032F08
monochromatic
#12021D #12021D #1E032F #430769 #670AA2

Accessibility & contrast

On white

18.93
#1E032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E032F
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E032F#FFFFFF#000000##FFFFFF
##1E032F1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#1B0D18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e032f;
/* rgb */ color: rgb(30, 3, 47);
/* oklch */ color: oklch(18.7% 0.085 308.7);
Tailwind
colors: {
  custom: {
    50: '#5b4768',
    500: '#1e032f',
    950: '#000000',
  },
}
SCSS
$custom: #1e032f;
$custom-light: #5b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#1e032f",
  "rgb": {
    "r": 30,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 276.818,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18727,
    "c": 0.08509,
    "h": 308.7
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#1E032F
secondary
#3D731B
accent
#FE2A7C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E032F

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

Preview Lab → · Contrast checker → · Palette generator →

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