#1E1052#1E1052

#1E1052 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.112 H 284.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#1E1052
RGBrgb(30, 16, 82)
HSLhsl(253, 67%, 19%)
HSVhsv(253, 80%, 32%)
CMYKcmyk(63.4%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.96, 27.21, -37.65)
CIE-LCHlch(10.96, 46.45, 305.85°)
OKLaboklab(24.44% 0.0274 -0.1084)
OKLCHoklch(24.44% 0.112 284.2)
XYZxyz(2.2432, 1.2557, 8.1052)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1052 #445210
analogous
#102352 #1E1052 #3F1052
triadic
#1E1052 #521E10 #10521E
tetradic
#1E1052 #521023 #445210 #10523F
square
#1E1052 #521023 #445210 #10523F
split-complementary
#1E1052 #523F10 #235210
monochromatic
#09051A #0B061F #1E1052 #311A85 #4324B8

Accessibility & contrast

On white

16.78
#1E1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1E1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1052
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1052#FFFFFF#000000##FFFFFF
##1E10521.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#032230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1e1052;
/* rgb */ color: rgb(30, 16, 82);
/* oklch */ color: oklch(24.4% 0.112 284.2);
Tailwind
colors: {
  custom: {
    50: '#615083',
    500: '#1e1052',
    950: '#000000',
  },
}
SCSS
$custom: #1e1052;
$custom-light: #615083;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1052",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 252.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24444,
    "c": 0.11186,
    "h": 284.2
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#1E1052
secondary
#798C32
accent
#EA3EC6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1E1052

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

Preview Lab → · Contrast checker → · Palette generator →

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