#2F0530#2F0530

#2F0530 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.090 H 327.1°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#2F0530
RGBrgb(47, 5, 48)
HSLhsl(299, 81%, 10%)
HSVhsv(299, 90%, 19%)
CMYKcmyk(2.1%, 89.6%, 0%, 81.2%)
CIE-LABlab(8.36, 27.27, -17.60)
CIE-LCHlch(8.36, 32.45, 327.16°)
OKLaboklab(22.19% 0.0755 -0.0489)
OKLCHoklch(22.19% 0.09 327.1)
XYZxyz(1.7600, 0.9264, 2.8818)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0530 #063005
analogous
#190530 #2F0530 #30051B
triadic
#2F0530 #302F05 #05302F
tetradic
#2F0530 #301905 #063005 #051B30
square
#2F0530 #301905 #063005 #051B30
split-complementary
#2F0530 #1B3005 #053019
monochromatic
#1B031C #1B031C #2F0530 #650B67 #9C119F

Accessibility & contrast

On white

17.72
#2F0530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0530
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0530#FFFFFF#000000##FFFFFF
##2F05301.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#310C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0530;
/* rgb */ color: rgb(47, 5, 48);
/* oklch */ color: oklch(22.2% 0.090 327.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a68',
    500: '#2f0530',
    950: '#000000',
  },
}
SCSS
$custom: #2f0530;
$custom-light: #6a4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0530",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 298.605,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22194,
    "c": 0.08994,
    "h": 327.1
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#2F0530
secondary
#21721F
accent
#F83035
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0530

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

Preview Lab → · Contrast checker → · Palette generator →

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