#2F102E#2F102E

#2F102E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.069 H 328.7°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2F102E
RGBrgb(47, 16, 46)
HSLhsl(302, 49%, 12%)
HSVhsv(302, 66%, 18%)
CMYKcmyk(0%, 66%, 2.1%, 81.6%)
CIE-LABlab(10.35, 20.93, -12.98)
CIE-LCHlch(10.35, 24.63, 328.19°)
OKLaboklab(23.59% 0.0587 -0.0356)
OKLCHoklch(23.59% 0.069 328.7)
XYZxyz(1.8507, 1.1723, 2.7130)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F102E #102F11
analogous
#20102F #2F102E #2F101F
triadic
#2F102E #2E2F10 #102E2F
tetradic
#2F102E #2F2010 #102F11 #101F2F
square
#2F102E #2F2010 #102F11 #101F2F
split-complementary
#2F102E #1F2F10 #102F20
monochromatic
#170816 #170816 #2F102E #5D205B #8A2F87

Accessibility & contrast

On white

17.01
#2F102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F102E
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F102E#FFFFFF#000000##FFFFFF
##2F102E1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A2F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#31131D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f102e;
/* rgb */ color: rgb(47, 16, 46);
/* oklch */ color: oklch(23.6% 0.069 328.7);
Tailwind
colors: {
  custom: {
    50: '#695066',
    500: '#2f102e',
    950: '#000000',
  },
}
SCSS
$custom: #2f102e;
$custom-light: #695066;
$custom-dark: #000000;
JSON
{
  "hex": "#2f102e",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 301.935,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2359,
    "c": 0.06866,
    "h": 328.7
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#2F102E
secondary
#336834
accent
#D9534F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F102E

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

Preview Lab → · Contrast checker → · Palette generator →

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