#1E0230#1E0230

#1E0230 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.088 H 308.2°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#1E0230
RGBrgb(30, 2, 48)
HSLhsl(277, 92%, 10%)
HSVhsv(277, 96%, 19%)
CMYKcmyk(37.5%, 95.8%, 0%, 81.2%)
CIE-LABlab(4.81, 23.06, -23.43)
CIE-LCHlch(4.81, 32.88, 314.53°)
OKLaboklab(18.64% 0.0546 -0.0694)
OKLCHoklch(18.64% 0.088 308.2)
XYZxyz(1.0905, 0.5329, 2.8411)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0230 #143002
analogous
#070230 #1E0230 #30022B
triadic
#1E0230 #301E02 #02301E
tetradic
#1E0230 #300702 #143002 #022B30
square
#1E0230 #300702 #143002 #022B30
split-complementary
#1E0230 #2B3002 #023007
monochromatic
#12011D #12011D #1E0230 #43046B #6707A6

Accessibility & contrast

On white

18.98
#1E0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0230
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0230#FFFFFF#000000##FFFFFF
##1E02301.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#1B0D19
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e0230;
/* rgb */ color: rgb(30, 2, 48);
/* oklch */ color: oklch(18.6% 0.088 308.2);
Tailwind
colors: {
  custom: {
    50: '#5c4669',
    500: '#1e0230',
    950: '#000000',
  },
}
SCSS
$custom: #1e0230;
$custom-light: #5c4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0230",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 276.522,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1864,
    "c": 0.08834,
    "h": 308.2
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#1E0230
secondary
#3D7519
accent
#FF297D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E0230

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

Preview Lab → · Contrast checker → · Palette generator →

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