#1D0230#1D0230

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

Color values

HEX#1D0230
RGBrgb(29, 2, 48)
HSLhsl(275, 92%, 10%)
HSVhsv(275, 96%, 19%)
CMYKcmyk(39.6%, 95.8%, 0%, 81.2%)
CIE-LABlab(4.68, 22.64, -23.66)
CIE-LCHlch(4.68, 32.75, 313.74°)
OKLaboklab(18.47% 0.0529 -0.0704)
OKLCHoklch(18.47% 0.088 306.9)
XYZxyz(1.0618, 0.5180, 2.8398)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0230 #153002
analogous
#060230 #1D0230 #30022C
triadic
#1D0230 #301D02 #02301D
tetradic
#1D0230 #300602 #153002 #022C30
square
#1D0230 #300602 #153002 #022C30
split-complementary
#1D0230 #2C3002 #023006
monochromatic
#12011D #12011D #1D0230 #40046B #6407A6

Accessibility & contrast

On white

19.03
#1D0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1D0230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0230
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0230#FFFFFF#000000##FFFFFF
##1D02301.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0230;
/* rgb */ color: rgb(29, 2, 48);
/* oklch */ color: oklch(18.5% 0.088 306.9);
Tailwind
colors: {
  custom: {
    50: '#5b4669',
    500: '#1d0230',
    950: '#000000',
  },
}
SCSS
$custom: #1d0230;
$custom-light: #5b4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0230",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 275.217,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18471,
    "c": 0.08804,
    "h": 306.9
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#1D0230
secondary
#3F7519
accent
#FF2981
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D0230

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

Preview Lab → · Contrast checker → · Palette generator →

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