#1E1256#1E1256

#1E1256 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.115 H 282.4°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#1E1256
RGBrgb(30, 18, 86)
HSLhsl(251, 65%, 20%)
HSVhsv(251, 79%, 34%)
CMYKcmyk(65.1%, 79.1%, 0%, 66.3%)
CIE-LABlab(11.83, 27.37, -38.95)
CIE-LCHlch(11.83, 47.61, 305.10°)
OKLaboklab(25.19% 0.0247 -0.1123)
OKLCHoklch(25.19% 0.115 282.4)
XYZxyz(2.4309, 1.3804, 8.9406)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1256 #4A5612
analogous
#122856 #1E1256 #401256
triadic
#1E1256 #561E12 #12561E
tetradic
#1E1256 #561228 #4A5612 #125640
square
#1E1256 #561228 #4A5612 #125640
split-complementary
#1E1256 #564012 #285612
monochromatic
#090519 #0C0723 #1E1256 #301D89 #4127BB

Accessibility & contrast

On white

16.46
#1E1256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1E1256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1256
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1256#FFFFFF#000000##FFFFFF
##1E12561.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e1256;
/* rgb */ color: rgb(30, 18, 86);
/* oklch */ color: oklch(25.2% 0.115 282.4);
Tailwind
colors: {
  custom: {
    50: '#625186',
    500: '#1e1256',
    950: '#000000',
  },
}
SCSS
$custom: #1e1256;
$custom-light: #625186;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1256",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 250.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25187,
    "c": 0.11496,
    "h": 282.4
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#1E1256
secondary
#7F8F35
accent
#E83FCB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E1256

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

Preview Lab → · Contrast checker → · Palette generator →

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