#1E0639#1E0639

#1E0639 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.091 H 299.6°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#1E0639
RGBrgb(30, 6, 57)
HSLhsl(268, 81%, 12%)
HSVhsv(268, 89%, 22%)
CMYKcmyk(47.4%, 89.5%, 0%, 77.6%)
CIE-LABlab(6.34, 24.47, -27.61)
CIE-LCHlch(6.34, 36.89, 311.55°)
OKLaboklab(20.28% 0.0451 -0.0796)
OKLCHoklch(20.28% 0.092 299.6)
XYZxyz(1.3389, 0.7017, 3.9350)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0639 #213906
analogous
#060839 #1E0639 #370639
triadic
#1E0639 #391E06 #06391E
tetradic
#1E0639 #390608 #213906 #063937
square
#1E0639 #390608 #213906 #063937
split-complementary
#1E0639 #393706 #083906
monochromatic
#0F031C #0F031C #1E0639 #3B0C70 #5812A8

Accessibility & contrast

On white

18.41
#1E0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0639
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0639#FFFFFF#000000##FFFFFF
##1E06391.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e0639;
/* rgb */ color: rgb(30, 6, 57);
/* oklch */ color: oklch(20.3% 0.091 299.6);
Tailwind
colors: {
  custom: {
    50: '#5d4970',
    500: '#1e0639',
    950: '#000000',
  },
}
SCSS
$custom: #1e0639;
$custom-light: #5d4970;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0639",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 268.235,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20284,
    "c": 0.0915,
    "h": 299.6
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#1E0639
secondary
#507922
accent
#F7309A
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0639

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

Preview Lab → · Contrast checker → · Palette generator →

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