#1E063A#1E063A

#1E063A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.093 H 298.9°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#1E063A
RGBrgb(30, 6, 58)
HSLhsl(268, 81%, 13%)
HSVhsv(268, 90%, 23%)
CMYKcmyk(48.3%, 89.7%, 0%, 77.3%)
CIE-LABlab(6.43, 24.83, -28.19)
CIE-LCHlch(6.43, 37.57, 311.38°)
OKLaboklab(20.39% 0.0448 -0.0812)
OKLCHoklch(20.39% 0.093 298.9)
XYZxyz(1.3641, 0.7117, 4.0677)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E063A #223A06
analogous
#06083A #1E063A #38063A
triadic
#1E063A #3A1E06 #063A1E
tetradic
#1E063A #3A0608 #223A06 #063A38
square
#1E063A #3A0608 #223A06 #063A38
split-complementary
#1E063A #3A3806 #083A06
monochromatic
#0E031C #0E031C #1E063A #3B0C71 #5711A9

Accessibility & contrast

On white

18.38
#1E063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E063A
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E063A#FFFFFF#000000##FFFFFF
##1E063A1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#171420
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e063a;
/* rgb */ color: rgb(30, 6, 58);
/* oklch */ color: oklch(20.4% 0.093 298.9);
Tailwind
colors: {
  custom: {
    50: '#5d4971',
    500: '#1e063a',
    950: '#000000',
  },
}
SCSS
$custom: #1e063a;
$custom-light: #5d4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1e063a",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 267.692,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2039,
    "c": 0.09275,
    "h": 298.9
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#1E063A
secondary
#517A22
accent
#F8309C
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1E063A

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

Preview Lab → · Contrast checker → · Palette generator →

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