#1E0232#1E0232

#1E0232 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.9% C 0.091 H 306.5°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#1E0232
RGBrgb(30, 2, 50)
HSLhsl(275, 92%, 10%)
HSVhsv(275, 96%, 20%)
CMYKcmyk(40%, 96%, 0%, 80.4%)
CIE-LABlab(4.97, 23.84, -24.68)
CIE-LCHlch(4.97, 34.31, 314.01°)
OKLaboklab(18.85% 0.0538 -0.0728)
OKLCHoklch(18.85% 0.091 306.5)
XYZxyz(1.1327, 0.5497, 3.0634)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0232 #163202
analogous
#060232 #1E0232 #32022E
triadic
#1E0232 #321E02 #02321E
tetradic
#1E0232 #320602 #163202 #022E32
square
#1E0232 #320602 #163202 #022E32
split-complementary
#1E0232 #2E3202 #023206
monochromatic
#12011D #12011D #1E0232 #41046D #6507A8

Accessibility & contrast

On white

18.92
#1E0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E0232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0232
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0232#FFFFFF#000000##FFFFFF
##1E02321.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#1A0E1A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e0232;
/* rgb */ color: rgb(30, 2, 50);
/* oklch */ color: oklch(18.9% 0.091 306.5);
Tailwind
colors: {
  custom: {
    50: '#5c466a',
    500: '#1e0232',
    950: '#000000',
  },
}
SCSS
$custom: #1e0232;
$custom-light: #5c466a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0232",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 275,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18852,
    "c": 0.09052,
    "h": 306.5
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#1E0232
secondary
#407619
accent
#FF2982
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E0232

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

Preview Lab → · Contrast checker → · Palette generator →

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