#2F0441#2F0441

#2F0441 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.108 H 313.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2F0441
RGBrgb(47, 4, 65)
HSLhsl(282, 88%, 14%)
HSVhsv(282, 94%, 25%)
CMYKcmyk(27.7%, 93.8%, 0%, 74.5%)
CIE-LABlab(9.58, 31.56, -27.95)
CIE-LCHlch(9.58, 42.16, 318.47°)
OKLaboklab(23.5% 0.0737 -0.0792)
OKLCHoklch(23.5% 0.108 313)
XYZxyz(2.1697, 1.0729, 5.0928)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0441 #164104
analogous
#100441 #2F0441 #410434
triadic
#2F0441 #412F04 #04412F
tetradic
#2F0441 #411004 #164104 #043441
square
#2F0441 #411004 #164104 #043441
split-complementary
#2F0441 #344104 #044110
monochromatic
#15021D #15021D #2F0441 #59087B #820BB4

Accessibility & contrast

On white

17.29
#2F0441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0441
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0441#FFFFFF#000000##FFFFFF
##2F04411.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0441;
/* rgb */ color: rgb(47, 4, 65);
/* oklch */ color: oklch(23.5% 0.108 313.0);
Tailwind
colors: {
  custom: {
    50: '#6b4b76',
    500: '#2f0441',
    950: '#000000',
  },
}
SCSS
$custom: #2f0441;
$custom-light: #6b4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0441",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 282.295,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23497,
    "c": 0.10821,
    "h": 313
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#2F0441
secondary
#3C821F
accent
#FF2968
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0441

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

Preview Lab → · Contrast checker → · Palette generator →

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