#2F0639#2F0639

#2F0639 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.097 H 318.8°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#2F0639
RGBrgb(47, 6, 57)
HSLhsl(288, 81%, 12%)
HSVhsv(288, 89%, 22%)
CMYKcmyk(17.5%, 89.5%, 0%, 77.6%)
CIE-LABlab(9.24, 28.69, -22.77)
CIE-LCHlch(9.24, 36.63, 321.56°)
OKLaboklab(23.04% 0.0731 -0.064)
OKLCHoklch(23.04% 0.097 318.8)
XYZxyz(1.9758, 1.0301, 3.9649)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0639 #103906
analogous
#150639 #2F0639 #39062A
triadic
#2F0639 #392F06 #06392F
tetradic
#2F0639 #391506 #103906 #062A39
square
#2F0639 #391506 #103906 #062A39
split-complementary
#2F0639 #2A3906 #063915
monochromatic
#17031C #17031C #2F0639 #5D0C70 #8A12A8

Accessibility & contrast

On white

17.41
#2F0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0639
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0639#FFFFFF#000000##FFFFFF
##2F06391.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#091B38
Tritanopia (blue-blind)
#2F111F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0639;
/* rgb */ color: rgb(47, 6, 57);
/* oklch */ color: oklch(23.0% 0.097 318.8);
Tailwind
colors: {
  custom: {
    50: '#6a4b70',
    500: '#2f0639',
    950: '#000000',
  },
}
SCSS
$custom: #2f0639;
$custom-light: #6a4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0639",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 288.235,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23037,
    "c": 0.09716,
    "h": 318.8
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#2F0639
secondary
#337922
accent
#F73057
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0639

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

Preview Lab → · Contrast checker → · Palette generator →

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