#1E0F63#1E0F63

#1E0F63 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.135 H 279.7°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#1E0F63
RGBrgb(30, 15, 99)
HSLhsl(251, 74%, 22%)
HSVhsv(251, 85%, 39%)
CMYKcmyk(69.7%, 84.8%, 0%, 61.2%)
CIE-LABlab(12.72, 33.46, -46.20)
CIE-LCHlch(12.72, 57.05, 305.91°)
OKLaboklab(26.26% 0.0229 -0.1334)
OKLCHoklch(26.26% 0.135 279.7)
XYZxyz(2.9577, 1.5183, 11.9392)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F63 #54630F
analogous
#0F2A63 #1E0F63 #480F63
triadic
#1E0F63 #631E0F #0F631E
tetradic
#1E0F63 #630F2A #54630F #0F6348
square
#1E0F63 #630F2A #54630F #0F6348
split-complementary
#1E0F63 #63480F #2A630F
monochromatic
#08041B #0E072E #1E0F63 #2E1798 #3E1FCD

Accessibility & contrast

On white

16.11
#1E0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1E0F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0F63
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F63#FFFFFF#000000##FFFFFF
##1E0F631.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.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: #1e0f63;
/* rgb */ color: rgb(30, 15, 99);
/* oklch */ color: oklch(26.3% 0.135 279.7);
Tailwind
colors: {
  custom: {
    50: '#655090',
    500: '#1e0f63',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f63;
$custom-light: #655090;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f63",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 250.714,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26261,
    "c": 0.13535,
    "h": 279.7
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#1E0F63
secondary
#899C32
accent
#F037CF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1E0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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