#1E1253#1E1253

#1E1253 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.111 H 283.3°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#1E1253
RGBrgb(30, 18, 83)
HSLhsl(251, 64%, 20%)
HSVhsv(251, 78%, 33%)
CMYKcmyk(63.9%, 78.3%, 0%, 67.5%)
CIE-LABlab(11.50, 26.33, -37.44)
CIE-LCHlch(11.50, 45.77, 305.12°)
OKLaboklab(24.86% 0.0254 -0.1078)
OKLCHoklch(24.86% 0.111 283.3)
XYZxyz(2.3126, 1.3330, 8.3174)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1253 #475312
analogous
#122753 #1E1253 #3F1253
triadic
#1E1253 #531E12 #12531E
tetradic
#1E1253 #531227 #475312 #12533F
square
#1E1253 #531227 #475312 #12533F
split-complementary
#1E1253 #533F12 #275312
monochromatic
#090519 #0C0721 #1E1253 #301D85 #4228B8

Accessibility & contrast

On white

16.58
#1E1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1E1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1253
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1253#FFFFFF#000000##FFFFFF
##1E12531.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001C52
Tritanopia (blue-blind)
#012431
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e1253;
/* rgb */ color: rgb(30, 18, 83);
/* oklch */ color: oklch(24.9% 0.111 283.3);
Tailwind
colors: {
  custom: {
    50: '#615184',
    500: '#1e1253',
    950: '#000000',
  },
}
SCSS
$custom: #1e1253;
$custom-light: #615184;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1253",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 251.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24861,
    "c": 0.11081,
    "h": 283.3
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#1E1253
secondary
#7C8C35
accent
#E740C9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1E1253

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

Preview Lab → · Contrast checker → · Palette generator →

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