#2F0533#2F0533

#2F0533 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.093 H 324.2°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2F0533
RGBrgb(47, 5, 51)
HSLhsl(295, 82%, 11%)
HSVhsv(295, 90%, 20%)
CMYKcmyk(7.8%, 90.2%, 0%, 80%)
CIE-LABlab(8.59, 27.90, -19.45)
CIE-LCHlch(8.59, 34.01, 325.11°)
OKLaboklab(22.42% 0.0753 -0.0543)
OKLCHoklch(22.42% 0.093 324.2)
XYZxyz(1.8241, 0.9520, 3.2190)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0533 #093305
analogous
#180533 #2F0533 #330520
triadic
#2F0533 #332F05 #05332F
tetradic
#2F0533 #331805 #093305 #052033
square
#2F0533 #331805 #093305 #052033
split-complementary
#2F0533 #203305 #053318
monochromatic
#1A031C #1A031C #2F0533 #620A6B #9610A2

Accessibility & contrast

On white

17.64
#2F0533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0533
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0533#FFFFFF#000000##FFFFFF
##2F05331.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#0D1A32
Tritanopia (blue-blind)
#300D1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0533;
/* rgb */ color: rgb(47, 5, 51);
/* oklch */ color: oklch(22.4% 0.093 324.2);
Tailwind
colors: {
  custom: {
    50: '#6a4a6b',
    500: '#2f0533',
    950: '#000000',
  },
}
SCSS
$custom: #2f0533;
$custom-light: #6a4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0533",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 294.783,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22423,
    "c": 0.09283,
    "h": 324.2
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#2F0533
secondary
#27741F
accent
#F82F41
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0533

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

Preview Lab → · Contrast checker → · Palette generator →

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