#2F0641#2F0641

#2F0641 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.105 H 312.6°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2F0641
RGBrgb(47, 6, 65)
HSLhsl(282, 83%, 14%)
HSVhsv(282, 91%, 25%)
CMYKcmyk(27.7%, 90.8%, 0%, 74.5%)
CIE-LABlab(9.93, 30.56, -27.40)
CIE-LCHlch(9.93, 41.04, 318.13°)
OKLaboklab(23.74% 0.0713 -0.0776)
OKLCHoklch(23.74% 0.105 312.6)
XYZxyz(2.1914, 1.1163, 5.1000)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0641 #184106
analogous
#120641 #2F0641 #410636
triadic
#2F0641 #412F06 #06412F
tetradic
#2F0641 #411206 #184106 #063641
square
#2F0641 #411206 #184106 #063641
split-complementary
#2F0641 #364106 #064112
monochromatic
#14031C #14031C #2F0641 #580B79 #8010B1

Accessibility & contrast

On white

17.17
#2F0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0641
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0641#FFFFFF#000000##FFFFFF
##2F06411.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#2D1524
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0641;
/* rgb */ color: rgb(47, 6, 65);
/* oklch */ color: oklch(23.7% 0.105 312.6);
Tailwind
colors: {
  custom: {
    50: '#6b4c76',
    500: '#2f0641',
    950: '#000000',
  },
}
SCSS
$custom: #2f0641;
$custom-light: #6b4c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0641",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 281.695,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23735,
    "c": 0.1054,
    "h": 312.6
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#2F0641
secondary
#3F8122
accent
#F92E6C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0641

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

Preview Lab → · Contrast checker → · Palette generator →

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