#2F0832#2F0832

#2F0832 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.087 H 324.9°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#2F0832
RGBrgb(47, 8, 50)
HSLhsl(296, 72%, 11%)
HSVhsv(296, 84%, 20%)
CMYKcmyk(6%, 84%, 0%, 80.4%)
CIE-LABlab(9.06, 26.11, -17.96)
CIE-LCHlch(9.06, 31.69, 325.47°)
OKLaboklab(22.74% 0.071 -0.05)
OKLCHoklch(22.74% 0.087 324.9)
XYZxyz(1.8348, 1.0084, 3.1150)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0832 #0B3208
analogous
#1A0832 #2F0832 #320820
triadic
#2F0832 #322F08 #08322F
tetradic
#2F0832 #321A08 #0B3208 #082032
square
#2F0832 #321A08 #0B3208 #082032
split-complementary
#2F0832 #203208 #08321A
monochromatic
#19041A #19041A #2F0832 #611067 #92199C

Accessibility & contrast

On white

17.48
#2F0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0832
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0832#FFFFFF#000000##FFFFFF
##2F08321.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011733
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#300F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0832;
/* rgb */ color: rgb(47, 8, 50);
/* oklch */ color: oklch(22.7% 0.087 324.9);
Tailwind
colors: {
  custom: {
    50: '#694c6a',
    500: '#2f0832',
    950: '#000000',
  },
}
SCSS
$custom: #2f0832;
$custom-light: #694c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0832",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 295.714,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22739,
    "c": 0.08683,
    "h": 324.9
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#2F0832
secondary
#2A7125
accent
#EF3946
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0832

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

Preview Lab → · Contrast checker → · Palette generator →

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