#2F0333#2F0333

#2F0333 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.096 H 324.4°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#2F0333
RGBrgb(47, 3, 51)
HSLhsl(295, 89%, 11%)
HSVhsv(295, 94%, 20%)
CMYKcmyk(7.8%, 94.1%, 0%, 80%)
CIE-LABlab(8.21, 29.00, -20.06)
CIE-LCHlch(8.21, 35.26, 325.32°)
OKLaboklab(22.16% 0.0783 -0.056)
OKLCHoklch(22.16% 0.096 324.4)
XYZxyz(1.8023, 0.9086, 3.2118)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0333 #073303
analogous
#170333 #2F0333 #33031F
triadic
#2F0333 #332F03 #03332F
tetradic
#2F0333 #331703 #073303 #031F33
square
#2F0333 #331703 #073303 #031F33
split-complementary
#2F0333 #1F3303 #033317
monochromatic
#1B021D #1B021D #2F0333 #64066D #9A0AA7

Accessibility & contrast

On white

17.77
#2F0333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0333
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0333#FFFFFF#000000##FFFFFF
##2F03331.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#0C1A32
Tritanopia (blue-blind)
#300B1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0333;
/* rgb */ color: rgb(47, 3, 51);
/* oklch */ color: oklch(22.2% 0.096 324.4);
Tailwind
colors: {
  custom: {
    50: '#6a496b',
    500: '#2f0333',
    950: '#000000',
  },
}
SCSS
$custom: #2f0333;
$custom-light: #6a496b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0333",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 295,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22155,
    "c": 0.0963,
    "h": 324.4
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#2F0333
secondary
#23761C
accent
#FF293B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0333

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

Preview Lab → · Contrast checker → · Palette generator →

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