#1E1061#1E1061

#1E1061 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.132 H 280.0°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#1E1061
RGBrgb(30, 16, 97)
HSLhsl(250, 72%, 22%)
HSVhsv(250, 84%, 38%)
CMYKcmyk(69.1%, 83.5%, 0%, 62%)
CIE-LABlab(12.67, 32.27, -44.97)
CIE-LCHlch(12.67, 55.35, 305.67°)
OKLaboklab(26.15% 0.023 -0.1298)
OKLCHoklch(26.15% 0.132 280)
XYZxyz(2.8777, 1.5094, 11.4466)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1061 #536110
analogous
#102B61 #1E1061 #461061
triadic
#1E1061 #611E10 #10611E
tetradic
#1E1061 #61102B #536110 #106146
square
#1E1061 #61102B #536110 #106146
split-complementary
#1E1061 #614610 #2B6110
monochromatic
#08041A #0E072C #1E1061 #2E1996 #3E21CA

Accessibility & contrast

On white

16.13
#1E1061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1061
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1061#FFFFFF#000000##FFFFFF
##1E10611.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001E60
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e1061;
/* rgb */ color: rgb(30, 16, 97);
/* oklch */ color: oklch(26.2% 0.132 280.0);
Tailwind
colors: {
  custom: {
    50: '#65518f',
    500: '#1e1061',
    950: '#000000',
  },
}
SCSS
$custom: #1e1061;
$custom-light: #65518f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1061",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 97
  },
  "hsl": {
    "h": 250.37,
    "s": 71.681,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26152,
    "c": 0.13183,
    "h": 280
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#1E1061
secondary
#889A33
accent
#EE39CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E1061

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

Preview Lab → · Contrast checker → · Palette generator →

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