#2F0335#2F0335

#2F0335 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.098 H 322.6°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#2F0335
RGBrgb(47, 3, 53)
HSLhsl(293, 89%, 11%)
HSVhsv(293, 94%, 21%)
CMYKcmyk(11.3%, 94.3%, 0%, 79.2%)
CIE-LABlab(8.36, 29.42, -21.27)
CIE-LCHlch(8.36, 36.30, 324.13°)
OKLaboklab(22.32% 0.078 -0.0596)
OKLCHoklch(22.32% 0.098 322.6)
XYZxyz(1.8474, 0.9266, 3.4490)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0335 #093503
analogous
#160335 #2F0335 #350322
triadic
#2F0335 #352F03 #03352F
tetradic
#2F0335 #351603 #093503 #032235
square
#2F0335 #351603 #093503 #032235
split-complementary
#2F0335 #223503 #033516
monochromatic
#1A021D #1A021D #2F0335 #62066F #960AA9

Accessibility & contrast

On white

17.72
#2F0335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0335
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0335#FFFFFF#000000##FFFFFF
##2F03351.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#0A1A34
Tritanopia (blue-blind)
#300D1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0335;
/* rgb */ color: rgb(47, 3, 53);
/* oklch */ color: oklch(22.3% 0.098 322.6);
Tailwind
colors: {
  custom: {
    50: '#6a496c',
    500: '#2f0335',
    950: '#000000',
  },
}
SCSS
$custom: #2f0335;
$custom-light: #6a496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0335",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 292.8,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22317,
    "c": 0.09817,
    "h": 322.6
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#2F0335
secondary
#27781C
accent
#FF2943
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0335

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

Preview Lab → · Contrast checker → · Palette generator →

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