#2F0941#2F0941

#2F0941 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.101 H 312.0°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2F0941
RGBrgb(47, 9, 65)
HSLhsl(281, 76%, 15%)
HSVhsv(281, 86%, 25%)
CMYKcmyk(27.7%, 86.2%, 0%, 74.5%)
CIE-LABlab(10.42, 29.13, -26.59)
CIE-LCHlch(10.42, 39.45, 317.61°)
OKLaboklab(24.08% 0.0679 -0.0753)
OKLCHoklch(24.08% 0.101 312)
XYZxyz(2.2239, 1.1814, 5.1109)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0941 #1B4109
analogous
#130941 #2F0941 #410937
triadic
#2F0941 #412F09 #09412F
tetradic
#2F0941 #411309 #1B4109 #093741
square
#2F0941 #411309 #1B4109 #093741
split-complementary
#2F0941 #374109 #094113
monochromatic
#13041B #13041B #2F0941 #561077 #7D18AD

Accessibility & contrast

On white

16.99
#2F0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0941
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0941#FFFFFF#000000##FFFFFF
##2F09411.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#2D1625
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0941;
/* rgb */ color: rgb(47, 9, 65);
/* oklch */ color: oklch(24.1% 0.101 312.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d76',
    500: '#2f0941',
    950: '#000000',
  },
}
SCSS
$custom: #2f0941;
$custom-light: #6a4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0941",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 280.714,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24082,
    "c": 0.10134,
    "h": 312
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#2F0941
secondary
#437F27
accent
#F23672
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0941

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

Preview Lab → · Contrast checker → · Palette generator →

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