#2F0733#2F0733

#2F0733 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.089 H 324.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2F0733
RGBrgb(47, 7, 51)
HSLhsl(295, 76%, 11%)
HSVhsv(295, 86%, 20%)
CMYKcmyk(7.8%, 86.3%, 0%, 80%)
CIE-LABlab(8.95, 26.84, -18.87)
CIE-LCHlch(8.95, 32.81, 324.90°)
OKLaboklab(22.69% 0.0724 -0.0526)
OKLCHoklch(22.69% 0.089 324)
XYZxyz(1.8458, 0.9954, 3.2262)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0733 #0B3307
analogous
#190733 #2F0733 #330721
triadic
#2F0733 #332F07 #07332F
tetradic
#2F0733 #331907 #0B3307 #072133
square
#2F0733 #331907 #0B3307 #072133
split-complementary
#2F0733 #213307 #073319
monochromatic
#19041B #19041B #2F0733 #610E69 #92169F

Accessibility & contrast

On white

17.51
#2F0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0733
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0733#FFFFFF#000000##FFFFFF
##2F07331.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#300F1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0733;
/* rgb */ color: rgb(47, 7, 51);
/* oklch */ color: oklch(22.7% 0.089 324.0);
Tailwind
colors: {
  custom: {
    50: '#6a4b6b',
    500: '#2f0733',
    950: '#000000',
  },
}
SCSS
$custom: #2f0733;
$custom-light: #6a4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0733",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 294.545,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22685,
    "c": 0.08948,
    "h": 324
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#2F0733
secondary
#2A7323
accent
#F23547
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0733

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

Preview Lab → · Contrast checker → · Palette generator →

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