#2F0434#2F0434

#2F0434 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.096 H 323.4°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2F0434
RGBrgb(47, 4, 52)
HSLhsl(294, 86%, 11%)
HSVhsv(294, 92%, 20%)
CMYKcmyk(9.6%, 92.3%, 0%, 79.6%)
CIE-LABlab(8.47, 28.65, -20.37)
CIE-LCHlch(8.47, 35.15, 324.60°)
OKLaboklab(22.37% 0.0767 -0.0569)
OKLCHoklch(22.37% 0.096 323.4)
XYZxyz(1.8355, 0.9392, 3.3328)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0434 #093404
analogous
#170434 #2F0434 #340421
triadic
#2F0434 #342F04 #04342F
tetradic
#2F0434 #341704 #093404 #042134
square
#2F0434 #341704 #093404 #042134
split-complementary
#2F0434 #213404 #043417
monochromatic
#1A021C #1A021C #2F0434 #62086D #960DA6

Accessibility & contrast

On white

17.68
#2F0434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0434
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0434#FFFFFF#000000##FFFFFF
##2F04341.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#0C1A33
Tritanopia (blue-blind)
#300D1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0434;
/* rgb */ color: rgb(47, 4, 52);
/* oklch */ color: oklch(22.4% 0.096 323.4);
Tailwind
colors: {
  custom: {
    50: '#6a4a6c',
    500: '#2f0434',
    950: '#000000',
  },
}
SCSS
$custom: #2f0434;
$custom-light: #6a4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0434",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 293.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2237,
    "c": 0.0955,
    "h": 323.4
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#2F0434
secondary
#27761E
accent
#FC2C42
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0434

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

Preview Lab → · Contrast checker → · Palette generator →

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