#1E0636#1E0636

#1E0636 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.088 H 301.7°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#1E0636
RGBrgb(30, 6, 54)
HSLhsl(270, 80%, 12%)
HSVhsv(270, 89%, 21%)
CMYKcmyk(44.4%, 88.9%, 0%, 78.8%)
CIE-LABlab(6.08, 23.38, -25.85)
CIE-LCHlch(6.08, 34.85, 312.13°)
OKLaboklab(19.97% 0.0461 -0.0747)
OKLCHoklch(19.97% 0.088 301.7)
XYZxyz(1.2662, 0.6726, 3.5524)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0636 #1E3606
analogous
#060636 #1E0636 #360636
triadic
#1E0636 #361E06 #06361E
tetradic
#1E0636 #360606 #1E3606 #063636
square
#1E0636 #360606 #1E3606 #063636
split-complementary
#1E0636 #363606 #063606
monochromatic
#0F031C #0F031C #1E0636 #3D0C6D #5B12A4

Accessibility & contrast

On white

18.51
#1E0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E0636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0636
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0636#FFFFFF#000000##FFFFFF
##1E06361.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#19121D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0636;
/* rgb */ color: rgb(30, 6, 54);
/* oklch */ color: oklch(20.0% 0.088 301.7);
Tailwind
colors: {
  custom: {
    50: '#5d496d',
    500: '#1e0636',
    950: '#000000',
  },
}
SCSS
$custom: #1e0636;
$custom-light: #5d496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0636",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 270,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.1997,
    "c": 0.08776,
    "h": 301.7
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#1E0636
secondary
#4C7621
accent
#F63194
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0636

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

Preview Lab → · Contrast checker → · Palette generator →

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