#2F0536#2F0536

#2F0536 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.096 H 321.5°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2F0536
RGBrgb(47, 5, 54)
HSLhsl(291, 83%, 12%)
HSVhsv(291, 91%, 21%)
CMYKcmyk(13%, 90.7%, 0%, 78.8%)
CIE-LABlab(8.82, 28.54, -21.28)
CIE-LCHlch(8.82, 35.60, 323.30°)
OKLaboklab(22.66% 0.0749 -0.0596)
OKLCHoklch(22.66% 0.096 321.5)
XYZxyz(1.8923, 0.9793, 3.5787)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0536 #0C3605
analogous
#170536 #2F0536 #360525
triadic
#2F0536 #362F05 #05362F
tetradic
#2F0536 #361705 #0C3605 #052536
square
#2F0536 #361705 #0C3605 #052536
split-complementary
#2F0536 #253605 #053617
monochromatic
#18031C #18031C #2F0536 #600A6E #910FA6

Accessibility & contrast

On white

17.56
#2F0536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0536
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0536#FFFFFF#000000##FFFFFF
##2F05361.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#2F0F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0536;
/* rgb */ color: rgb(47, 5, 54);
/* oklch */ color: oklch(22.7% 0.096 321.5);
Tailwind
colors: {
  custom: {
    50: '#6a4a6d',
    500: '#2f0536',
    950: '#000000',
  },
}
SCSS
$custom: #2f0536;
$custom-light: #6a4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0536",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 291.429,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.09576,
    "h": 321.5
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#2F0536
secondary
#2C7720
accent
#F92E4B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0536

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

Preview Lab → · Contrast checker → · Palette generator →

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