#1E0638#1E0638

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

Color values

HEX#1E0638
RGBrgb(30, 6, 56)
HSLhsl(269, 81%, 12%)
HSVhsv(269, 89%, 22%)
CMYKcmyk(46.4%, 89.3%, 0%, 78%)
CIE-LABlab(6.25, 24.11, -27.03)
CIE-LCHlch(6.25, 36.22, 311.73°)
OKLaboklab(20.18% 0.0455 -0.078)
OKLCHoklch(20.18% 0.09 300.2)
XYZxyz(1.3142, 0.6918, 3.8049)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0638 #203806
analogous
#060738 #1E0638 #370638
triadic
#1E0638 #381E06 #06381E
tetradic
#1E0638 #380607 #203806 #063837
square
#1E0638 #380607 #203806 #063837
split-complementary
#1E0638 #383706 #073806
monochromatic
#0F031C #0F031C #1E0638 #3C0C6F #5912A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E0638#FFFFFF#000000##FFFFFF
##1E06381.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)
#001439
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#18131E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0638;
/* rgb */ color: rgb(30, 6, 56);
/* oklch */ color: oklch(20.2% 0.090 300.2);
Tailwind
colors: {
  custom: {
    50: '#5d496f',
    500: '#1e0638',
    950: '#000000',
  },
}
SCSS
$custom: #1e0638;
$custom-light: #5d496f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0638",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 268.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20179,
    "c": 0.09026,
    "h": 300.2
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#1E0638
secondary
#4F7821
accent
#F73198
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0638

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

Preview Lab → · Contrast checker → · Palette generator →

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