#1E0641#1E0641

#1E0641 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.101 H 294.5°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#1E0641
RGBrgb(30, 6, 65)
HSLhsl(264, 83%, 14%)
HSVhsv(264, 91%, 25%)
CMYKcmyk(53.8%, 90.8%, 0%, 74.5%)
CIE-LABlab(7.12, 27.27, -32.10)
CIE-LCHlch(7.12, 42.12, 310.35°)
OKLaboklab(21.16% 0.0421 -0.0923)
OKLCHoklch(21.16% 0.101 294.5)
XYZxyz(1.5544, 0.7879, 5.0702)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0641 #294106
analogous
#060C41 #1E0641 #3C0641
triadic
#1E0641 #411E06 #06411E
tetradic
#1E0641 #41060C #294106 #06413C
square
#1E0641 #41060C #294106 #06413C
split-complementary
#1E0641 #413C06 #0C4106
monochromatic
#0D031C #0D031C #1E0641 #380B79 #5210B1

Accessibility & contrast

On white

18.14
#1E0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1E0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0641
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0641#FFFFFF#000000##FFFFFF
##1E06411.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#131724
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e0641;
/* rgb */ color: rgb(30, 6, 65);
/* oklch */ color: oklch(21.2% 0.101 294.5);
Tailwind
colors: {
  custom: {
    50: '#5f4976',
    500: '#1e0641',
    950: '#000000',
  },
}
SCSS
$custom: #1e0641;
$custom-light: #5f4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0641",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 264.407,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21159,
    "c": 0.10144,
    "h": 294.5
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#1E0641
secondary
#5A8122
accent
#F92EA7
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E0641

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

Preview Lab → · Contrast checker → · Palette generator →

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