#2F0736#2F0736

#2F0736 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.093 H 321.2°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2F0736
RGBrgb(47, 7, 54)
HSLhsl(291, 77%, 12%)
HSVhsv(291, 87%, 21%)
CMYKcmyk(13%, 87%, 0%, 78.8%)
CIE-LABlab(9.18, 27.50, -20.70)
CIE-LCHlch(9.18, 34.42, 323.04°)
OKLaboklab(22.92% 0.0721 -0.0579)
OKLCHoklch(22.92% 0.093 321.2)
XYZxyz(1.9140, 1.0227, 3.5859)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0736 #0E3607
analogous
#180736 #2F0736 #360726
triadic
#2F0736 #362F07 #07362F
tetradic
#2F0736 #361807 #0E3607 #072636
square
#2F0736 #361807 #0E3607 #072636
split-complementary
#2F0736 #263607 #073618
monochromatic
#18041B #18041B #2F0736 #5E0E6C #8D15A2

Accessibility & contrast

On white

17.43
#2F0736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0736
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0736#FFFFFF#000000##FFFFFF
##2F07361.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0D1B35
Tritanopia (blue-blind)
#2F101E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0736;
/* rgb */ color: rgb(47, 7, 54);
/* oklch */ color: oklch(22.9% 0.093 321.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b6d',
    500: '#2f0736',
    950: '#000000',
  },
}
SCSS
$custom: #2f0736;
$custom-light: #6a4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0736",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 291.064,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22919,
    "c": 0.09253,
    "h": 321.2
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#2F0736
secondary
#2F7623
accent
#F43451
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0736

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

Preview Lab → · Contrast checker → · Palette generator →

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