#2F0737#2F0737

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

Color values

HEX#2F0737
RGBrgb(47, 7, 55)
HSLhsl(290, 77%, 12%)
HSVhsv(290, 87%, 22%)
CMYKcmyk(14.5%, 87.3%, 0%, 78.4%)
CIE-LABlab(9.26, 27.73, -21.30)
CIE-LCHlch(9.26, 34.96, 322.47°)
OKLaboklab(23% 0.072 -0.0597)
OKLCHoklch(23% 0.094 320.3)
XYZxyz(1.9378, 1.0322, 3.7109)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0737 #0F3707
analogous
#170737 #2F0737 #370727
triadic
#2F0737 #372F07 #07372F
tetradic
#2F0737 #371707 #0F3707 #072737
square
#2F0737 #371707 #0F3707 #072737
split-complementary
#2F0737 #273707 #073717
monochromatic
#17031B #17031B #2F0737 #5D0E6D #8C15A4

Accessibility & contrast

On white

17.41
#2F0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0737
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0737#FFFFFF#000000##FFFFFF
##2F07371.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0737;
/* rgb */ color: rgb(47, 7, 55);
/* oklch */ color: oklch(23.0% 0.094 320.3);
Tailwind
colors: {
  custom: {
    50: '#6a4b6e',
    500: '#2f0737',
    950: '#000000',
  },
}
SCSS
$custom: #2f0737;
$custom-light: #6a4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0737",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 290,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22998,
    "c": 0.09356,
    "h": 320.3
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#2F0737
secondary
#317723
accent
#F43454
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0737

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

Preview Lab → · Contrast checker → · Palette generator →

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