#2F0932#2F0932

#2F0932 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.085 H 324.8°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#2F0932
RGBrgb(47, 9, 50)
HSLhsl(296, 69%, 12%)
HSVhsv(296, 82%, 20%)
CMYKcmyk(6%, 82%, 0%, 80.4%)
CIE-LABlab(9.24, 25.60, -17.68)
CIE-LCHlch(9.24, 31.11, 325.38°)
OKLaboklab(22.87% 0.0696 -0.0491)
OKLCHoklch(22.87% 0.085 324.8)
XYZxyz(1.8457, 1.0301, 3.1186)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0932 #0C3209
analogous
#1B0932 #2F0932 #320921
triadic
#2F0932 #322F09 #09322F
tetradic
#2F0932 #321B09 #0C3209 #092132
square
#2F0932 #321B09 #0C3209 #092132
split-complementary
#2F0932 #213209 #09321B
monochromatic
#18051A #18051A #2F0932 #601266 #911C9A

Accessibility & contrast

On white

17.41
#2F0932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0932 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0932
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0932#FFFFFF#000000##FFFFFF
##2F09321.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#30101C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0932;
/* rgb */ color: rgb(47, 9, 50);
/* oklch */ color: oklch(22.9% 0.085 324.8);
Tailwind
colors: {
  custom: {
    50: '#694c6a',
    500: '#2f0932',
    950: '#000000',
  },
}
SCSS
$custom: #2f0932;
$custom-light: #694c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0932",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 50
  },
  "hsl": {
    "h": 295.61,
    "s": 69.492,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.08521,
    "h": 324.8
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#2F0932
secondary
#2C7027
accent
#EC3B48
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0932

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

Preview Lab → · Contrast checker → · Palette generator →

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