#1E063F#1E063F

#1E063F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.099 H 295.7°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#1E063F
RGBrgb(30, 6, 63)
HSLhsl(265, 83%, 14%)
HSVhsv(265, 90%, 25%)
CMYKcmyk(52.4%, 90.5%, 0%, 75.3%)
CIE-LABlab(6.91, 26.59, -31.00)
CIE-LCHlch(6.91, 40.85, 310.62°)
OKLaboklab(20.94% 0.0429 -0.0892)
OKLCHoklch(20.94% 0.099 295.7)
XYZxyz(1.4975, 0.7651, 4.7704)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E063F #273F06
analogous
#060A3F #1E063F #3A063F
triadic
#1E063F #3F1E06 #063F1E
tetradic
#1E063F #3F060A #273F06 #063F3A
square
#1E063F #3F060A #273F06 #063F3A
split-complementary
#1E063F #3F3A06 #0A3F06
monochromatic
#0D031C #0D031C #1E063F #390B77 #5311AF

Accessibility & contrast

On white

18.21
#1E063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E063F
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E063F#FFFFFF#000000##FFFFFF
##1E063F1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e063f;
/* rgb */ color: rgb(30, 6, 63);
/* oklch */ color: oklch(20.9% 0.099 295.7);
Tailwind
colors: {
  custom: {
    50: '#5e4975',
    500: '#1e063f',
    950: '#000000',
  },
}
SCSS
$custom: #1e063f;
$custom-light: #5e4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1e063f",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 265.263,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20935,
    "c": 0.09897,
    "h": 295.7
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#1E063F
secondary
#587F22
accent
#F92FA4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E063F

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

Preview Lab → · Contrast checker → · Palette generator →

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