#2F102F#2F102F

#2F102F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.070 H 327.5°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2F102F
RGBrgb(47, 16, 47)
HSLhsl(300, 49%, 12%)
HSVhsv(300, 66%, 18%)
CMYKcmyk(0%, 66%, 0%, 81.6%)
CIE-LABlab(10.41, 21.15, -13.62)
CIE-LCHlch(10.41, 25.16, 327.22°)
OKLaboklab(23.65% 0.0589 -0.0375)
OKLCHoklch(23.65% 0.07 327.5)
XYZxyz(1.8706, 1.1803, 2.8181)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F102F #102F10
analogous
#20102F #2F102F #2F1020
triadic
#2F102F #2F2F10 #102F2F
tetradic
#2F102F #2F2010 #102F10 #10202F
square
#2F102F #2F2010 #102F10 #10202F
split-complementary
#2F102F #202F10 #102F20
monochromatic
#170817 #170817 #2F102F #5D205D #8A2F8A

Accessibility & contrast

On white

16.99
#2F102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F102F
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F102F#FFFFFF#000000##FFFFFF
##2F102F1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#31141D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f102f;
/* rgb */ color: rgb(47, 16, 47);
/* oklch */ color: oklch(23.7% 0.070 327.5);
Tailwind
colors: {
  custom: {
    50: '#695067',
    500: '#2f102f',
    950: '#000000',
  },
}
SCSS
$custom: #2f102f;
$custom-light: #695067;
$custom-dark: #000000;
JSON
{
  "hex": "#2f102f",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23654,
    "c": 0.06978,
    "h": 327.5
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#2F102F
secondary
#336833
accent
#D94F4F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F102F

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

Preview Lab → · Contrast checker → · Palette generator →

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