#2F022E#2F022E

#2F022E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.094 H 329.2°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#2F022E
RGBrgb(47, 2, 46)
HSLhsl(301, 92%, 10%)
HSVhsv(301, 96%, 18%)
CMYKcmyk(0%, 95.7%, 2.1%, 81.6%)
CIE-LABlab(7.63, 28.56, -17.27)
CIE-LCHlch(7.63, 33.38, 328.83°)
OKLaboklab(21.63% 0.0805 -0.0479)
OKLCHoklch(21.63% 0.094 329.2)
XYZxyz(1.6871, 0.8451, 2.6585)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F022E #022F03
analogous
#1A022F #2F022E #2F0218
triadic
#2F022E #2E2F02 #022E2F
tetradic
#2F022E #2F1A02 #022F03 #02182F
square
#2F022E #2F1A02 #022F03 #02182F
split-complementary
#2F022E #182F02 #022F1A
monochromatic
#1D011D #1D011D #2F022E #6A0467 #A407A1

Accessibility & contrast

On white

17.96
#2F022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F022E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F022E#FFFFFF#000000##FFFFFF
##2F022E1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#310818
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f022e;
/* rgb */ color: rgb(47, 2, 46);
/* oklch */ color: oklch(21.6% 0.094 329.2);
Tailwind
colors: {
  custom: {
    50: '#6a4867',
    500: '#2f022e',
    950: '#000000',
  },
}
SCSS
$custom: #2f022e;
$custom-light: #6a4867;
$custom-dark: #000000;
JSON
{
  "hex": "#2f022e",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 301.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21626,
    "c": 0.09365,
    "h": 329.2
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#2F022E
secondary
#19741B
accent
#FF2E29
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F022E

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

Preview Lab → · Contrast checker → · Palette generator →

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