#2D0230#2D0230

#2D0230 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.094 H 325.3°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#2D0230
RGBrgb(45, 2, 48)
HSLhsl(296, 92%, 10%)
HSVhsv(296, 96%, 19%)
CMYKcmyk(6.2%, 95.8%, 0%, 81.2%)
CIE-LABlab(7.36, 28.44, -19.22)
CIE-LCHlch(7.36, 34.33, 325.95°)
OKLaboklab(21.39% 0.0777 -0.0537)
OKLCHoklch(21.39% 0.094 325.3)
XYZxyz(1.6374, 0.8148, 2.8668)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0230 #053002
analogous
#160230 #2D0230 #30021C
triadic
#2D0230 #302D02 #02302D
tetradic
#2D0230 #301602 #053002 #021C30
square
#2D0230 #301602 #053002 #021C30
split-complementary
#2D0230 #1C3002 #023016
monochromatic
#1C011D #1C011D #2D0230 #64046B #9B07A6

Accessibility & contrast

On white

18.06
#2D0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2D0230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D0230#FFFFFF#000000##FFFFFF
##2D02301.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0B182F
Tritanopia (blue-blind)
#2E0919
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d0230;
/* rgb */ color: rgb(45, 2, 48);
/* oklch */ color: oklch(21.4% 0.094 325.3);
Tailwind
colors: {
  custom: {
    50: '#684868',
    500: '#2d0230',
    950: '#000000',
  },
}
SCSS
$custom: #2d0230;
$custom-light: #684868;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0230",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 296.087,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21391,
    "c": 0.09443,
    "h": 325.3
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#2D0230
secondary
#1F7519
accent
#FF2937
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0230

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

Preview Lab → · Contrast checker → · Palette generator →

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