#2F1335#2F1335

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

Color values

HEX#2F1335
RGBrgb(47, 19, 53)
HSLhsl(289, 47%, 14%)
HSVhsv(289, 64%, 21%)
CMYKcmyk(11.3%, 64.2%, 0%, 79.2%)
CIE-LABlab(11.46, 20.75, -16.33)
CIE-LCHlch(11.46, 26.41, 321.78°)
OKLaboklab(24.55% 0.0546 -0.0453)
OKLCHoklch(24.55% 0.071 320.3)
XYZxyz(2.0477, 1.3272, 3.5158)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1335 #193513
analogous
#1E1335 #2F1335 #35132A
triadic
#2F1335 #352F13 #13352F
tetradic
#2F1335 #351E13 #193513 #132A35
square
#2F1335 #351E13 #193513 #132A35
split-complementary
#2F1335 #2A3513 #13351E
monochromatic
#140817 #140817 #2F1335 #572362 #7F338F

Accessibility & contrast

On white

16.60
#2F1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1335
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1335#FFFFFF#000000##FFFFFF
##2F13351.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C36
Deuteranopia (green-blind)
#161F34
Tritanopia (blue-blind)
#2F1821
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f1335;
/* rgb */ color: rgb(47, 19, 53);
/* oklch */ color: oklch(24.5% 0.071 320.3);
Tailwind
colors: {
  custom: {
    50: '#69526c',
    500: '#2f1335',
    950: '#000000',
  },
}
SCSS
$custom: #2f1335;
$custom-light: #69526c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1335",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 289.412,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24548,
    "c": 0.07099,
    "h": 320.3
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#2F1335
secondary
#406D37
accent
#D75169
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F1335

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

Preview Lab → · Contrast checker → · Palette generator →

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