#2F0835#2F0835

#2F0835 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.090 H 322.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2F0835
RGBrgb(47, 8, 53)
HSLhsl(292, 74%, 12%)
HSVhsv(292, 85%, 21%)
CMYKcmyk(11.3%, 84.9%, 0%, 79.2%)
CIE-LABlab(9.28, 26.77, -19.80)
CIE-LCHlch(9.28, 33.30, 323.51°)
OKLaboklab(22.97% 0.0709 -0.0553)
OKLCHoklch(22.97% 0.09 322)
XYZxyz(1.9017, 1.0352, 3.4671)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0835 #0E3508
analogous
#190835 #2F0835 #350825
triadic
#2F0835 #352F08 #08352F
tetradic
#2F0835 #351908 #0E3508 #082535
square
#2F0835 #351908 #0E3508 #082535
split-complementary
#2F0835 #253508 #083519
monochromatic
#18041B #18041B #2F0835 #5E106A #8D189F

Accessibility & contrast

On white

17.40
#2F0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0835
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0835#FFFFFF#000000##FFFFFF
##2F08351.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0E1B34
Tritanopia (blue-blind)
#30101E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0835;
/* rgb */ color: rgb(47, 8, 53);
/* oklch */ color: oklch(23.0% 0.090 322.0);
Tailwind
colors: {
  custom: {
    50: '#6a4c6c',
    500: '#2f0835',
    950: '#000000',
  },
}
SCSS
$custom: #2f0835;
$custom-light: #6a4c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0835",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 292,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22966,
    "c": 0.08992,
    "h": 322
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#2F0835
secondary
#2F7425
accent
#F03750
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0835

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

Preview Lab → · Contrast checker → · Palette generator →

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