#2F0732#2F0732

#2F0732 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.088 H 325.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2F0732
RGBrgb(47, 7, 50)
HSLhsl(296, 75%, 11%)
HSVhsv(296, 86%, 20%)
CMYKcmyk(6%, 86%, 0%, 80.4%)
CIE-LABlab(8.88, 26.62, -18.25)
CIE-LCHlch(8.88, 32.27, 325.57°)
OKLaboklab(22.61% 0.0724 -0.0508)
OKLCHoklch(22.61% 0.088 325)
XYZxyz(1.8239, 0.9867, 3.1114)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0732 #0A3207
analogous
#190732 #2F0732 #32071F
triadic
#2F0732 #322F07 #07322F
tetradic
#2F0732 #321907 #0A3207 #071F32
square
#2F0732 #321907 #0A3207 #071F32
split-complementary
#2F0732 #1F3207 #073219
monochromatic
#19041B #19041B #2F0732 #610F68 #94169D

Accessibility & contrast

On white

17.54
#2F0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0732
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0732#FFFFFF#000000##FFFFFF
##2F07321.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#300E1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0732;
/* rgb */ color: rgb(47, 7, 50);
/* oklch */ color: oklch(22.6% 0.088 325.0);
Tailwind
colors: {
  custom: {
    50: '#6a4b6a',
    500: '#2f0732',
    950: '#000000',
  },
}
SCSS
$custom: #2f0732;
$custom-light: #6a4b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0732",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 295.814,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22609,
    "c": 0.08848,
    "h": 325
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#2F0732
secondary
#297223
accent
#F23643
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0732

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

Preview Lab → · Contrast checker → · Palette generator →

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