#1E063B#1E063B

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

Color values

HEX#1E063B
RGBrgb(30, 6, 59)
HSLhsl(267, 82%, 13%)
HSVhsv(267, 90%, 23%)
CMYKcmyk(49.2%, 89.8%, 0%, 76.9%)
CIE-LABlab(6.52, 25.19, -28.76)
CIE-LCHlch(6.52, 38.23, 311.21°)
OKLaboklab(20.5% 0.0444 -0.0828)
OKLCHoklch(20.5% 0.094 298.2)
XYZxyz(1.3898, 0.7220, 4.2030)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E063B #233B06
analogous
#06083B #1E063B #38063B
triadic
#1E063B #3B1E06 #063B1E
tetradic
#1E063B #3B0608 #233B06 #063B38
square
#1E063B #3B0608 #233B06 #063B38
split-complementary
#1E063B #3B3806 #083B06
monochromatic
#0E031C #0E031C #1E063B #3A0C73 #5611AA

Accessibility & contrast

On white

18.35
#1E063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E063B
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E063B#FFFFFF#000000##FFFFFF
##1E063B1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#171420
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e063b;
/* rgb */ color: rgb(30, 6, 59);
/* oklch */ color: oklch(20.5% 0.094 298.2);
Tailwind
colors: {
  custom: {
    50: '#5e4971',
    500: '#1e063b',
    950: '#000000',
  },
}
SCSS
$custom: #1e063b;
$custom-light: #5e4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1e063b",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 267.17,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20498,
    "c": 0.09399,
    "h": 298.2
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#1E063B
secondary
#537B22
accent
#F8309D
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #1E063B

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

Preview Lab → · Contrast checker → · Palette generator →

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