#2F0D38#2F0D38

#2F0D38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.085 H 318.5°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#2F0D38
RGBrgb(47, 13, 56)
HSLhsl(287, 62%, 14%)
HSVhsv(287, 77%, 22%)
CMYKcmyk(16.1%, 76.8%, 0%, 78%)
CIE-LABlab(10.39, 24.96, -20.20)
CIE-LCHlch(10.39, 32.11, 321.02°)
OKLaboklab(23.83% 0.064 -0.0566)
OKLCHoklch(23.83% 0.085 318.5)
XYZxyz(2.0299, 1.1778, 3.8610)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D38 #16380D
analogous
#190D38 #2F0D38 #380D2B
triadic
#2F0D38 #382F0D #0D382F
tetradic
#2F0D38 #38190D #16380D #0D2B38
square
#2F0D38 #38190D #16380D #0D2B38
split-complementary
#2F0D38 #2B380D #0D3819
monochromatic
#150619 #150619 #2F0D38 #59196A #82249B

Accessibility & contrast

On white

17.00
#2F0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D38
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D38#FFFFFF#000000##FFFFFF
##2F0D381.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#2F1521
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0d38;
/* rgb */ color: rgb(47, 13, 56);
/* oklch */ color: oklch(23.8% 0.085 318.5);
Tailwind
colors: {
  custom: {
    50: '#694f6f',
    500: '#2f0d38',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d38;
$custom-light: #694f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d38",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 287.442,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23834,
    "c": 0.08543,
    "h": 318.5
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#2F0D38
secondary
#3C732D
accent
#E54265
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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