#1E0F52#1E0F52

#1E0F52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.113 H 284.5°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#1E0F52
RGBrgb(30, 15, 82)
HSLhsl(253, 69%, 19%)
HSVhsv(253, 82%, 32%)
CMYKcmyk(63.4%, 81.7%, 0%, 67.8%)
CIE-LABlab(10.75, 27.80, -37.99)
CIE-LCHlch(10.75, 47.07, 306.19°)
OKLaboklab(24.3% 0.0283 -0.1094)
OKLCHoklch(24.3% 0.113 284.5)
XYZxyz(2.2288, 1.2267, 8.1003)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F52 #43520F
analogous
#0F2252 #1E0F52 #400F52
triadic
#1E0F52 #521E0F #0F521E
tetradic
#1E0F52 #520F22 #43520F #0F5240
square
#1E0F52 #520F22 #43520F #0F5240
split-complementary
#1E0F52 #52400F #22520F
monochromatic
#09051A #0B061E #1E0F52 #311886 #4422B9

Accessibility & contrast

On white

16.86
#1E0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0F52
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F52#FFFFFF#000000##FFFFFF
##1E0F521.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.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: #1e0f52;
/* rgb */ color: rgb(30, 15, 82);
/* oklch */ color: oklch(24.3% 0.113 284.5);
Tailwind
colors: {
  custom: {
    50: '#614f83',
    500: '#1e0f52',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f52;
$custom-light: #614f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f52",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 253.433,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24297,
    "c": 0.11303,
    "h": 284.5
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#1E0F52
secondary
#788C31
accent
#EC3CC4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1E0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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