#1E0233#1E0233

#1E0233 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.092 H 305.7°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#1E0233
RGBrgb(30, 2, 51)
HSLhsl(274, 92%, 10%)
HSVhsv(274, 96%, 20%)
CMYKcmyk(41.2%, 96.1%, 0%, 80%)
CIE-LABlab(5.04, 24.23, -25.30)
CIE-LCHlch(5.04, 35.02, 313.76°)
OKLaboklab(18.96% 0.0534 -0.0744)
OKLCHoklch(18.96% 0.092 305.7)
XYZxyz(1.1545, 0.5585, 3.1783)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0233 #173302
analogous
#060233 #1E0233 #33022F
triadic
#1E0233 #331E02 #02331E
tetradic
#1E0233 #330602 #173302 #022F33
square
#1E0233 #330602 #173302 #022F33
split-complementary
#1E0233 #2F3302 #023306
monochromatic
#11011D #11011D #1E0233 #41046E #6307A9

Accessibility & contrast

On white

18.89
#1E0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0233
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0233#FFFFFF#000000##FFFFFF
##1E02331.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e0233;
/* rgb */ color: rgb(30, 2, 51);
/* oklch */ color: oklch(19.0% 0.092 305.7);
Tailwind
colors: {
  custom: {
    50: '#5c466b',
    500: '#1e0233',
    950: '#000000',
  },
}
SCSS
$custom: #1e0233;
$custom-light: #5c466b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0233",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 274.286,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18959,
    "c": 0.09161,
    "h": 305.7
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#1E0233
secondary
#42771A
accent
#FF2985
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E0233

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

Preview Lab → · Contrast checker → · Palette generator →

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