#2F102C#2F102C

#2F102C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.066 H 331.3°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2F102C
RGBrgb(47, 16, 44)
HSLhsl(306, 49%, 12%)
HSVhsv(306, 66%, 18%)
CMYKcmyk(0%, 66%, 6.4%, 81.6%)
CIE-LABlab(10.24, 20.49, -11.69)
CIE-LCHlch(10.24, 23.59, 330.30°)
OKLaboklab(23.47% 0.0583 -0.0319)
OKLCHoklch(23.47% 0.066 331.3)
XYZxyz(1.8122, 1.1569, 2.5102)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F102C #102F13
analogous
#22102F #2F102C #2F101D
triadic
#2F102C #2C2F10 #102C2F
tetradic
#2F102C #2F2210 #102F13 #101D2F
square
#2F102C #2F2210 #102F13 #101D2F
split-complementary
#2F102C #1D2F10 #102F22
monochromatic
#170815 #170815 #2F102C #5D2057 #8A2F81

Accessibility & contrast

On white

17.05
#2F102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F102C
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F102C#FFFFFF#000000##FFFFFF
##2F102C1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#181E2B
Tritanopia (blue-blind)
#31131C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f102c;
/* rgb */ color: rgb(47, 16, 44);
/* oklch */ color: oklch(23.5% 0.066 331.3);
Tailwind
colors: {
  custom: {
    50: '#695065',
    500: '#2f102c',
    950: '#000000',
  },
}
SCSS
$custom: #2f102c;
$custom-light: #695065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f102c",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 305.806,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23467,
    "c": 0.06648,
    "h": 331.3
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#2F102C
secondary
#336838
accent
#D95C4F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F102C

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

Preview Lab → · Contrast checker → · Palette generator →

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