#1E053A#1E053A

#1E053A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.094 H 299.2°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#1E053A
RGBrgb(30, 5, 58)
HSLhsl(268, 84%, 12%)
HSVhsv(268, 91%, 23%)
CMYKcmyk(48.3%, 91.4%, 0%, 77.3%)
CIE-LABlab(6.23, 25.35, -28.51)
CIE-LCHlch(6.23, 38.15, 311.65°)
OKLaboklab(20.23% 0.0461 -0.0823)
OKLCHoklch(20.23% 0.094 299.2)
XYZxyz(1.3532, 0.6900, 4.0641)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E053A #213A05
analogous
#05063A #1E053A #39053A
triadic
#1E053A #3A1E05 #053A1E
tetradic
#1E053A #3A0506 #213A05 #053A39
square
#1E053A #3A0506 #213A05 #053A39
split-complementary
#1E053A #3A3905 #063A05
monochromatic
#0F021C #0F021C #1E053A #3B0A72 #580FAB

Accessibility & contrast

On white

18.45
#1E053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1E053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E053A
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E053A#FFFFFF#000000##FFFFFF
##1E053A1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#17131F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e053a;
/* rgb */ color: rgb(30, 5, 58);
/* oklch */ color: oklch(20.2% 0.094 299.2);
Tailwind
colors: {
  custom: {
    50: '#5d4871',
    500: '#1e053a',
    950: '#000000',
  },
}
SCSS
$custom: #1e053a;
$custom-light: #5d4871;
$custom-dark: #000000;
JSON
{
  "hex": "#1e053a",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 268.302,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20231,
    "c": 0.09434,
    "h": 299.2
  },
  "luminance": 0.0069
}

Semantic roles & 50–950 ramp

primary
#1E053A
secondary
#507B20
accent
#FA2D9A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E053A

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

Preview Lab → · Contrast checker → · Palette generator →

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