#2F0432#2F0432

#2F0432 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.094 H 325.2°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#2F0432
RGBrgb(47, 4, 50)
HSLhsl(296, 85%, 11%)
HSVhsv(296, 92%, 20%)
CMYKcmyk(6%, 92%, 0%, 80.4%)
CIE-LABlab(8.32, 28.23, -19.14)
CIE-LCHlch(8.32, 34.11, 325.86°)
OKLaboklab(22.21% 0.0769 -0.0534)
OKLCHoklch(22.21% 0.094 325.2)
XYZxyz(1.7914, 0.9216, 3.1005)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0432 #073204
analogous
#180432 #2F0432 #32041E
triadic
#2F0432 #322F04 #04322F
tetradic
#2F0432 #321804 #073204 #041E32
square
#2F0432 #321804 #073204 #041E32
split-complementary
#2F0432 #1E3204 #043218
monochromatic
#1B021C #1B021C #2F0432 #64096B #9A0DA3

Accessibility & contrast

On white

17.73
#2F0432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0432
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0432#FFFFFF#000000##FFFFFF
##2F04321.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0E1A31
Tritanopia (blue-blind)
#300C1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0432;
/* rgb */ color: rgb(47, 4, 50);
/* oklch */ color: oklch(22.2% 0.094 325.2);
Tailwind
colors: {
  custom: {
    50: '#6a496a',
    500: '#2f0432',
    950: '#000000',
  },
}
SCSS
$custom: #2f0432;
$custom-light: #6a496a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0432",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 296.087,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22211,
    "c": 0.0936,
    "h": 325.2
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#2F0432
secondary
#23741D
accent
#FB2C3A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0432

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

Preview Lab → · Contrast checker → · Palette generator →

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