#2F1334#2F1334

#2F1334 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.070 H 321.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2F1334
RGBrgb(47, 19, 52)
HSLhsl(291, 46%, 14%)
HSVhsv(291, 63%, 20%)
CMYKcmyk(9.6%, 63.5%, 0%, 79.6%)
CIE-LABlab(11.40, 20.50, -15.71)
CIE-LCHlch(11.40, 25.83, 322.53°)
OKLaboklab(24.48% 0.0545 -0.0435)
OKLCHoklch(24.48% 0.07 321.4)
XYZxyz(2.0249, 1.3181, 3.3959)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1334 #183413
analogous
#1F1334 #2F1334 #341329
triadic
#2F1334 #342F13 #13342F
tetradic
#2F1334 #341F13 #183413 #132934
square
#2F1334 #341F13 #183413 #132934
split-complementary
#2F1334 #293413 #13341F
monochromatic
#140816 #140816 #2F1334 #582361 #80348E

Accessibility & contrast

On white

16.62
#2F1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1334
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1334#FFFFFF#000000##FFFFFF
##2F13341.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C35
Deuteranopia (green-blind)
#161F33
Tritanopia (blue-blind)
#301821
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f1334;
/* rgb */ color: rgb(47, 19, 52);
/* oklch */ color: oklch(24.5% 0.070 321.4);
Tailwind
colors: {
  custom: {
    50: '#69526b',
    500: '#2f1334',
    950: '#000000',
  },
}
SCSS
$custom: #2f1334;
$custom-light: #69526b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1334",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 290.909,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24481,
    "c": 0.06975,
    "h": 321.4
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#2F1334
secondary
#3F6C37
accent
#D65266
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F1334

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

Preview Lab → · Contrast checker → · Palette generator →

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