#2F0D35#2F0D35

#2F0D35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.082 H 321.4°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2F0D35
RGBrgb(47, 13, 53)
HSLhsl(291, 61%, 13%)
HSVhsv(291, 75%, 21%)
CMYKcmyk(11.3%, 75.5%, 0%, 79.2%)
CIE-LABlab(10.18, 24.25, -18.37)
CIE-LCHlch(10.18, 30.42, 322.85°)
OKLaboklab(23.61% 0.0641 -0.0512)
OKLCHoklch(23.61% 0.082 321.4)
XYZxyz(1.9587, 1.1493, 3.4861)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D35 #13350D
analogous
#1B0D35 #2F0D35 #350D27
triadic
#2F0D35 #352F0D #0D352F
tetradic
#2F0D35 #351B0D #13350D #0D2735
square
#2F0D35 #351B0D #13350D #0D2735
split-complementary
#2F0D35 #27350D #0D351B
monochromatic
#160619 #160619 #2F0D35 #5B1966 #862597

Accessibility & contrast

On white

17.08
#2F0D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D35
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D35#FFFFFF#000000##FFFFFF
##2F0D351.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#30141F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0d35;
/* rgb */ color: rgb(47, 13, 53);
/* oklch */ color: oklch(23.6% 0.082 321.4);
Tailwind
colors: {
  custom: {
    50: '#694e6c',
    500: '#2f0d35',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d35;
$custom-light: #694e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d35",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 53
  },
  "hsl": {
    "h": 291,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23611,
    "c": 0.08202,
    "h": 321.4
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2F0D35
secondary
#37702D
accent
#E4445C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D35

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

Preview Lab → · Contrast checker → · Palette generator →

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