#2F0730#2F0730

#2F0730 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.086 H 326.9°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#2F0730
RGBrgb(47, 7, 48)
HSLhsl(299, 75%, 11%)
HSVhsv(299, 85%, 19%)
CMYKcmyk(2.1%, 85.4%, 0%, 81.2%)
CIE-LABlab(8.74, 26.20, -17.00)
CIE-LCHlch(8.74, 31.23, 327.01°)
OKLaboklab(22.46% 0.0725 -0.0472)
OKLCHoklch(22.46% 0.086 326.9)
XYZxyz(1.7817, 0.9698, 2.8891)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0730 #083007
analogous
#1A0730 #2F0730 #30071C
triadic
#2F0730 #302F07 #07302F
tetradic
#2F0730 #301A07 #083007 #071C30
square
#2F0730 #301A07 #083007 #071C30
split-complementary
#2F0730 #1C3007 #07301A
monochromatic
#1A041B #1A041B #2F0730 #630F65 #98179B

Accessibility & contrast

On white

17.59
#2F0730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0730
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0730#FFFFFF#000000##FFFFFF
##2F07301.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#310D1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0730;
/* rgb */ color: rgb(47, 7, 48);
/* oklch */ color: oklch(22.5% 0.086 326.9);
Tailwind
colors: {
  custom: {
    50: '#694b68',
    500: '#2f0730',
    950: '#000000',
  },
}
SCSS
$custom: #2f0730;
$custom-light: #694b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0730",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 298.537,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22461,
    "c": 0.08649,
    "h": 326.9
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#2F0730
secondary
#257023
accent
#F1373B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0730

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

Preview Lab → · Contrast checker → · Palette generator →

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