#1E1063#1E1063

#1E1063 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.134 H 279.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#1E1063
RGBrgb(30, 16, 99)
HSLhsl(250, 72%, 23%)
HSVhsv(250, 84%, 39%)
CMYKcmyk(69.7%, 83.8%, 0%, 61.2%)
CIE-LABlab(12.90, 32.93, -45.90)
CIE-LCHlch(12.90, 56.50, 305.66°)
OKLaboklab(26.39% 0.0223 -0.1325)
OKLCHoklch(26.39% 0.134 279.6)
XYZxyz(2.9721, 1.5472, 11.9440)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1063 #556310
analogous
#102C63 #1E1063 #471063
triadic
#1E1063 #631E10 #10631E
tetradic
#1E1063 #63102C #556310 #106347
square
#1E1063 #63102C #556310 #106347
split-complementary
#1E1063 #634710 #2C6310
monochromatic
#08041A #0E072E #1E1063 #2E1998 #3E21CC

Accessibility & contrast

On white

16.04
#1E1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1063
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1063#FFFFFF#000000##FFFFFF
##1E10631.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001E62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e1063;
/* rgb */ color: rgb(30, 16, 99);
/* oklch */ color: oklch(26.4% 0.134 279.6);
Tailwind
colors: {
  custom: {
    50: '#655190',
    500: '#1e1063',
    950: '#000000',
  },
}
SCSS
$custom: #1e1063;
$custom-light: #655190;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1063",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 250.12,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26387,
    "c": 0.13441,
    "h": 279.6
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#1E1063
secondary
#8A9C33
accent
#EF39D0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1E1063

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

Preview Lab → · Contrast checker → · Palette generator →

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