#2F052F#2F052F

#2F052F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.089 H 328.1°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2F052F
RGBrgb(47, 5, 47)
HSLhsl(300, 81%, 10%)
HSVhsv(300, 89%, 18%)
CMYKcmyk(0%, 89.4%, 0%, 81.6%)
CIE-LABlab(8.29, 27.07, -16.97)
CIE-LCHlch(8.29, 31.95, 327.91°)
OKLaboklab(22.12% 0.0755 -0.0471)
OKLCHoklch(22.12% 0.089 328.1)
XYZxyz(1.7396, 0.9182, 2.7744)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F052F #052F05
analogous
#1A052F #2F052F #2F051A
triadic
#2F052F #2F2F05 #052F2F
tetradic
#2F052F #2F1A05 #052F05 #051A2F
square
#2F052F #2F1A05 #052F05 #051A2F
split-complementary
#2F052F #1A2F05 #052F1A
monochromatic
#1C031C #1C031C #2F052F #660B66 #9E119E

Accessibility & contrast

On white

17.74
#2F052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F052F
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F052F#FFFFFF#000000##FFFFFF
##2F052F1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001530
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#310B19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f052f;
/* rgb */ color: rgb(47, 5, 47);
/* oklch */ color: oklch(22.1% 0.089 328.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a67',
    500: '#2f052f',
    950: '#000000',
  },
}
SCSS
$custom: #2f052f;
$custom-light: #6a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f052f",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2212,
    "c": 0.089,
    "h": 328.1
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2F052F
secondary
#1F711F
accent
#F73131
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F052F

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

Preview Lab → · Contrast checker → · Palette generator →

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