#1E0648#1E0648

#1E0648 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.110 H 290.9°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#1E0648
RGBrgb(30, 6, 72)
HSLhsl(262, 85%, 15%)
HSVhsv(262, 92%, 28%)
CMYKcmyk(58.3%, 91.7%, 0%, 71.8%)
CIE-LABlab(7.90, 29.53, -35.77)
CIE-LCHlch(7.90, 46.38, 309.54°)
OKLaboklab(21.96% 0.0392 -0.1028)
OKLCHoklch(21.96% 0.11 290.9)
XYZxyz(1.7699, 0.8741, 6.2051)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0648 #304806
analogous
#060F48 #1E0648 #3F0648
triadic
#1E0648 #481E06 #06481E
tetradic
#1E0648 #48060F #304806 #06483F
square
#1E0648 #48060F #304806 #06483F
split-complementary
#1E0648 #483F06 #0F4806
monochromatic
#0C021C #0C021C #1E0648 #360B80 #4D0FB9

Accessibility & contrast

On white

17.88
#1E0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1E0648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0648
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0648#FFFFFF#000000##FFFFFF
##1E06481.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#0E1A28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0648;
/* rgb */ color: rgb(30, 6, 72);
/* oklch */ color: oklch(22.0% 0.110 290.9);
Tailwind
colors: {
  custom: {
    50: '#60497c',
    500: '#1e0648',
    950: '#000000',
  },
}
SCSS
$custom: #1e0648;
$custom-light: #60497c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0648",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 261.818,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21964,
    "c": 0.11006,
    "h": 290.9
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#1E0648
secondary
#638723
accent
#FB2DB0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0648

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

Preview Lab → · Contrast checker → · Palette generator →

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