#1E053F#1E053F

#1E053F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.100 H 296.0°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#1E053F
RGBrgb(30, 5, 63)
HSLhsl(266, 85%, 13%)
HSVhsv(266, 92%, 25%)
CMYKcmyk(52.4%, 92.1%, 0%, 75.3%)
CIE-LABlab(6.72, 27.13, -31.32)
CIE-LCHlch(6.72, 41.44, 310.90°)
OKLaboklab(20.78% 0.0441 -0.0902)
OKLCHoklch(20.78% 0.1 296)
XYZxyz(1.4867, 0.7434, 4.7668)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E053F #263F05
analogous
#05093F #1E053F #3B053F
triadic
#1E053F #3F1E05 #053F1E
tetradic
#1E053F #3F0509 #263F05 #053F3B
square
#1E053F #3F0509 #263F05 #053F3B
split-complementary
#1E053F #3F3B05 #093F05
monochromatic
#0D021C #0D021C #1E053F #390978 #540EB0

Accessibility & contrast

On white

18.28
#1E053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1E053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E053F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E053F#FFFFFF#000000##FFFFFF
##1E053F1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#151522
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e053f;
/* rgb */ color: rgb(30, 5, 63);
/* oklch */ color: oklch(20.8% 0.100 296.0);
Tailwind
colors: {
  custom: {
    50: '#5e4875',
    500: '#1e053f',
    950: '#000000',
  },
}
SCSS
$custom: #1e053f;
$custom-light: #5e4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1e053f",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 265.862,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20784,
    "c": 0.1004,
    "h": 296
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#1E053F
secondary
#568020
accent
#FC2CA2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E053F

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

Preview Lab → · Contrast checker → · Palette generator →

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