#2D0330#2D0330

#2D0330 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.093 H 325.2°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2D0330
RGBrgb(45, 3, 48)
HSLhsl(296, 88%, 10%)
HSVhsv(296, 94%, 19%)
CMYKcmyk(6.2%, 93.8%, 0%, 81.2%)
CIE-LABlab(7.56, 27.88, -18.91)
CIE-LCHlch(7.56, 33.69, 325.86°)
OKLaboklab(21.54% 0.076 -0.0528)
OKLCHoklch(21.54% 0.093 325.2)
XYZxyz(1.6482, 0.8365, 2.8704)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0330 #063003
analogous
#170330 #2D0330 #30031C
triadic
#2D0330 #302D03 #03302D
tetradic
#2D0330 #301703 #063003 #031C30
square
#2D0330 #301703 #063003 #031C30
split-complementary
#2D0330 #1C3003 #033017
monochromatic
#1B021D #1B021D #2D0330 #63076A #990AA3

Accessibility & contrast

On white

17.99
#2D0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0330
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0330#FFFFFF#000000##FFFFFF
##2D03301.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0C182F
Tritanopia (blue-blind)
#2E0A19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d0330;
/* rgb */ color: rgb(45, 3, 48);
/* oklch */ color: oklch(21.5% 0.093 325.2);
Tailwind
colors: {
  custom: {
    50: '#684868',
    500: '#2d0330',
    950: '#000000',
  },
}
SCSS
$custom: #2d0330;
$custom-light: #684868;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0330",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 296,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21536,
    "c": 0.09253,
    "h": 325.2
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#2D0330
secondary
#21731B
accent
#FE2938
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0330

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

Preview Lab → · Contrast checker → · Palette generator →

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