#2D0233#2D0233

#2D0233 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.097 H 322.5°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2D0233
RGBrgb(45, 2, 51)
HSLhsl(293, 92%, 10%)
HSVhsv(293, 96%, 20%)
CMYKcmyk(11.8%, 96.1%, 0%, 80%)
CIE-LABlab(7.59, 29.11, -21.07)
CIE-LCHlch(7.59, 35.93, 324.10°)
OKLaboklab(21.64% 0.0772 -0.0591)
OKLCHoklch(21.64% 0.097 322.5)
XYZxyz(1.7014, 0.8404, 3.2039)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0233 #083302
analogous
#140233 #2D0233 #330220
triadic
#2D0233 #332D02 #02332D
tetradic
#2D0233 #331402 #083302 #022033
square
#2D0233 #331402 #083302 #022033
split-complementary
#2D0233 #203302 #023314
monochromatic
#1A011D #1A011D #2D0233 #61046E #9507A9

Accessibility & contrast

On white

17.98
#2D0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0233
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0233#FFFFFF#000000##FFFFFF
##2D02331.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#091832
Tritanopia (blue-blind)
#2E0B1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d0233;
/* rgb */ color: rgb(45, 2, 51);
/* oklch */ color: oklch(21.6% 0.097 322.5);
Tailwind
colors: {
  custom: {
    50: '#68486b',
    500: '#2d0233',
    950: '#000000',
  },
}
SCSS
$custom: #2d0233;
$custom-light: #68486b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0233",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 292.653,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21638,
    "c": 0.09719,
    "h": 322.5
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#2D0233
secondary
#25771A
accent
#FF2943
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0233

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

Preview Lab → · Contrast checker → · Palette generator →

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