#2F0535#2F0535

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

Color values

HEX#2F0535
RGBrgb(47, 5, 53)
HSLhsl(293, 83%, 11%)
HSVhsv(293, 91%, 21%)
CMYKcmyk(11.3%, 90.6%, 0%, 79.2%)
CIE-LABlab(8.74, 28.33, -20.67)
CIE-LCHlch(8.74, 35.07, 323.88°)
OKLaboklab(22.58% 0.0751 -0.0579)
OKLCHoklch(22.58% 0.095 322.4)
XYZxyz(1.8691, 0.9700, 3.4563)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0535 #0B3505
analogous
#170535 #2F0535 #350523
triadic
#2F0535 #352F05 #05352F
tetradic
#2F0535 #351705 #0B3505 #052335
square
#2F0535 #351705 #0B3505 #052335
split-complementary
#2F0535 #233505 #053517
monochromatic
#19031C #19031C #2F0535 #610A6D #9210A5

Accessibility & contrast

On white

17.59
#2F0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0535
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0535#FFFFFF#000000##FFFFFF
##2F05351.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#300E1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0535;
/* rgb */ color: rgb(47, 5, 53);
/* oklch */ color: oklch(22.6% 0.095 322.4);
Tailwind
colors: {
  custom: {
    50: '#6a4a6c',
    500: '#2f0535',
    950: '#000000',
  },
}
SCSS
$custom: #2f0535;
$custom-light: #6a4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0535",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 292.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22582,
    "c": 0.09477,
    "h": 322.4
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#2F0535
secondary
#2A7620
accent
#F92F48
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0535

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

Preview Lab → · Contrast checker → · Palette generator →

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