#2F0328#2F0328

#2F0328 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.087 H 335.5°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#2F0328
RGBrgb(47, 3, 40)
HSLhsl(310, 88%, 10%)
HSVhsv(310, 94%, 18%)
CMYKcmyk(0%, 93.6%, 14.9%, 81.6%)
CIE-LABlab(7.43, 26.82, -13.08)
CIE-LCHlch(7.43, 29.84, 333.99°)
OKLaboklab(21.34% 0.0788 -0.0358)
OKLCHoklch(21.34% 0.087 335.5)
XYZxyz(1.5879, 0.8228, 2.0823)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0328 #032F0A
analogous
#20032F #2F0328 #2F0312
triadic
#2F0328 #282F03 #03282F
tetradic
#2F0328 #2F2003 #032F0A #03122F
square
#2F0328 #2F2003 #032F0A #03122F
split-complementary
#2F0328 #122F03 #032F20
monochromatic
#1D0218 #1D0218 #2F0328 #690759 #A20A8A

Accessibility & contrast

On white

18.03
#2F0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0328
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0328#FFFFFF#000000##FFFFFF
##2F03281.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#320614
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0328;
/* rgb */ color: rgb(47, 3, 40);
/* oklch */ color: oklch(21.3% 0.087 335.5);
Tailwind
colors: {
  custom: {
    50: '#6a4862',
    500: '#2f0328',
    950: '#000000',
  },
}
SCSS
$custom: #2f0328;
$custom-light: #6a4862;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0328",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 309.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21343,
    "c": 0.08654,
    "h": 335.5
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#2F0328
secondary
#1B7329
accent
#FE4B2A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0328

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

Preview Lab → · Contrast checker → · Palette generator →

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