#1E0637#1E0637

#1E0637 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.089 H 301.0°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#1E0637
RGBrgb(30, 6, 55)
HSLhsl(269, 80%, 12%)
HSVhsv(269, 89%, 22%)
CMYKcmyk(45.5%, 89.1%, 0%, 78.4%)
CIE-LABlab(6.16, 23.74, -26.44)
CIE-LCHlch(6.16, 35.54, 311.93°)
OKLaboklab(20.07% 0.0458 -0.0763)
OKLCHoklch(20.07% 0.089 301)
XYZxyz(1.2900, 0.6821, 3.6774)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0637 #1F3706
analogous
#060637 #1E0637 #370637
triadic
#1E0637 #371E06 #06371E
tetradic
#1E0637 #370606 #1F3706 #063737
square
#1E0637 #370606 #1F3706 #063737
split-complementary
#1E0637 #373706 #063706
monochromatic
#0F031C #0F031C #1E0637 #3C0C6E #5A12A5

Accessibility & contrast

On white

18.48
#1E0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0637
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0637#FFFFFF#000000##FFFFFF
##1E06371.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#18131E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0637;
/* rgb */ color: rgb(30, 6, 55);
/* oklch */ color: oklch(20.1% 0.089 301.0);
Tailwind
colors: {
  custom: {
    50: '#5d496e',
    500: '#1e0637',
    950: '#000000',
  },
}
SCSS
$custom: #1e0637;
$custom-light: #5d496e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0637",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 269.388,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20074,
    "c": 0.08901,
    "h": 301
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#1E0637
secondary
#4D7721
accent
#F73196
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0637

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

Preview Lab → · Contrast checker → · Palette generator →

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