#2F0C32#2F0C32

#2F0C32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.080 H 324.5°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2F0C32
RGBrgb(47, 12, 50)
HSLhsl(295, 61%, 12%)
HSVhsv(295, 76%, 20%)
CMYKcmyk(6%, 76%, 0%, 80.4%)
CIE-LABlab(9.78, 24.08, -16.82)
CIE-LCHlch(9.78, 29.38, 325.07°)
OKLaboklab(23.26% 0.0654 -0.0467)
OKLCHoklch(23.26% 0.08 324.5)
XYZxyz(1.8794, 1.0977, 3.1299)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C32 #0F320C
analogous
#1C0C32 #2F0C32 #320C22
triadic
#2F0C32 #322F0C #0C322F
tetradic
#2F0C32 #321C0C #0F320C #0C2232
square
#2F0C32 #321C0C #0F320C #0C2232
split-complementary
#2F0C32 #22320C #0C321C
monochromatic
#170619 #170619 #2F0C32 #5D1863 #8C2495

Accessibility & contrast

On white

17.22
#2F0C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C32
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C32#FFFFFF#000000##FFFFFF
##2F0C321.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051833
Deuteranopia (green-blind)
#131C31
Tritanopia (blue-blind)
#30121D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0c32;
/* rgb */ color: rgb(47, 12, 50);
/* oklch */ color: oklch(23.3% 0.080 324.5);
Tailwind
colors: {
  custom: {
    50: '#694e6a',
    500: '#2f0c32',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c32;
$custom-light: #694e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c32",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 295.263,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23256,
    "c": 0.08037,
    "h": 324.5
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#2F0C32
secondary
#316E2C
accent
#E44350
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0C32

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

Preview Lab → · Contrast checker → · Palette generator →

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