#2F0F35#2F0F35

#2F0F35 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.079 H 321.0°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#2F0F35
RGBrgb(47, 15, 53)
HSLhsl(291, 56%, 13%)
HSVhsv(291, 72%, 21%)
CMYKcmyk(11.3%, 71.7%, 0%, 79.2%)
CIE-LABlab(10.58, 23.14, -17.73)
CIE-LCHlch(10.58, 29.15, 322.53°)
OKLaboklab(23.9% 0.0611 -0.0494)
OKLCHoklch(23.9% 0.079 321)
XYZxyz(1.9856, 1.2031, 3.4951)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F35 #15350F
analogous
#1C0F35 #2F0F35 #350F28
triadic
#2F0F35 #352F0F #0F352F
tetradic
#2F0F35 #351C0F #15350F #0F2835
square
#2F0F35 #351C0F #15350F #0F2835
split-complementary
#2F0F35 #28350F #0F351C
monochromatic
#150718 #150718 #2F0F35 #591C65 #842A94

Accessibility & contrast

On white

16.93
#2F0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F35
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F35#FFFFFF#000000##FFFFFF
##2F0F351.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A36
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#2F1520
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0f35;
/* rgb */ color: rgb(47, 15, 53);
/* oklch */ color: oklch(23.9% 0.079 321.0);
Tailwind
colors: {
  custom: {
    50: '#69506c',
    500: '#2f0f35',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f35;
$custom-light: #69506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f35",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 290.526,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23902,
    "c": 0.07854,
    "h": 321
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2F0F35
secondary
#3B6F31
accent
#DF4960
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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