#1E0634#1E0634

#1E0634 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.085 H 303.2°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1E0634
RGBrgb(30, 6, 52)
HSLhsl(271, 79%, 11%)
HSVhsv(271, 88%, 20%)
CMYKcmyk(42.3%, 88.5%, 0%, 79.6%)
CIE-LABlab(5.91, 22.64, -24.65)
CIE-LCHlch(5.91, 33.47, 312.57°)
OKLaboklab(19.77% 0.0467 -0.0713)
OKLCHoklch(19.77% 0.085 303.2)
XYZxyz(1.2202, 0.6542, 3.3101)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0634 #1C3406
analogous
#070634 #1E0634 #340633
triadic
#1E0634 #341E06 #06341E
tetradic
#1E0634 #340706 #1C3406 #063334
square
#1E0634 #340706 #1C3406 #063334
split-complementary
#1E0634 #333406 #063407
monochromatic
#10031B #10031B #1E0634 #3E0C6B #5D13A2

Accessibility & contrast

On white

18.57
#1E0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0634
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0634#FFFFFF#000000##FFFFFF
##1E06341.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#19111C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0634;
/* rgb */ color: rgb(30, 6, 52);
/* oklch */ color: oklch(19.8% 0.085 303.2);
Tailwind
colors: {
  custom: {
    50: '#5c496c',
    500: '#1e0634',
    950: '#000000',
  },
}
SCSS
$custom: #1e0634;
$custom-light: #5c496c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0634",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 271.304,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19766,
    "c": 0.08526,
    "h": 303.2
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#1E0634
secondary
#497421
accent
#F63290
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0634

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

Preview Lab → · Contrast checker → · Palette generator →

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