#2F0534#2F0534

#2F0534 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.094 H 323.3°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2F0534
RGBrgb(47, 5, 52)
HSLhsl(294, 82%, 11%)
HSVhsv(294, 90%, 20%)
CMYKcmyk(9.6%, 90.4%, 0%, 79.6%)
CIE-LABlab(8.66, 28.11, -20.07)
CIE-LCHlch(8.66, 34.54, 324.48°)
OKLaboklab(22.5% 0.0752 -0.0561)
OKLCHoklch(22.5% 0.094 323.3)
XYZxyz(1.8463, 0.9609, 3.3364)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0534 #0A3405
analogous
#170534 #2F0534 #340521
triadic
#2F0534 #342F05 #05342F
tetradic
#2F0534 #341705 #0A3405 #052134
square
#2F0534 #341705 #0A3405 #052134
split-complementary
#2F0534 #213405 #053417
monochromatic
#19031C #19031C #2F0534 #610A6C #9410A4

Accessibility & contrast

On white

17.61
#2F0534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0534
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0534#FFFFFF#000000##FFFFFF
##2F05341.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0D1A33
Tritanopia (blue-blind)
#300E1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0534;
/* rgb */ color: rgb(47, 5, 52);
/* oklch */ color: oklch(22.5% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#6a4a6c',
    500: '#2f0534',
    950: '#000000',
  },
}
SCSS
$custom: #2f0534;
$custom-light: #6a4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0534",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 293.617,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22502,
    "c": 0.09379,
    "h": 323.3
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#2F0534
secondary
#29751F
accent
#F92F44
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0534

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

Preview Lab → · Contrast checker → · Palette generator →

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