#2F1330#2F1330

#2F1330 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.065 H 326.1°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#2F1330
RGBrgb(47, 19, 48)
HSLhsl(298, 43%, 13%)
HSVhsv(298, 60%, 19%)
CMYKcmyk(2.1%, 60.4%, 0%, 81.2%)
CIE-LABlab(11.16, 19.54, -13.18)
CIE-LCHlch(11.16, 23.57, 326.00°)
OKLaboklab(24.23% 0.0539 -0.0362)
OKLCHoklch(24.23% 0.065 326.1)
XYZxyz(1.9386, 1.2836, 2.9414)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1330 #143013
analogous
#201330 #2F1330 #301322
triadic
#2F1330 #302F13 #13302F
tetradic
#2F1330 #302013 #143013 #132230
square
#2F1330 #302013 #143013 #132230
split-complementary
#2F1330 #223013 #133020
monochromatic
#150916 #150916 #2F1330 #5A245C #853688

Accessibility & contrast

On white

16.71
#2F1330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1330
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1330#FFFFFF#000000##FFFFFF
##2F13301.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C31
Deuteranopia (green-blind)
#181F2F
Tritanopia (blue-blind)
#30161F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f1330;
/* rgb */ color: rgb(47, 19, 48);
/* oklch */ color: oklch(24.2% 0.065 326.1);
Tailwind
colors: {
  custom: {
    50: '#685268',
    500: '#2f1330',
    950: '#000000',
  },
}
SCSS
$custom: #2f1330;
$custom-light: #685268;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1330",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 297.931,
    "s": 43.284,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24225,
    "c": 0.06491,
    "h": 326.1
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#2F1330
secondary
#396737
accent
#D35559
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F1330

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

Preview Lab → · Contrast checker → · Palette generator →

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