#2F102B#2F102B

#2F102B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.065 H 332.6°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2F102B
RGBrgb(47, 16, 43)
HSLhsl(308, 49%, 12%)
HSVhsv(308, 66%, 18%)
CMYKcmyk(0%, 66%, 8.5%, 81.6%)
CIE-LABlab(10.18, 20.27, -11.04)
CIE-LCHlch(10.18, 23.08, 331.44°)
OKLaboklab(23.41% 0.0581 -0.0301)
OKLCHoklch(23.41% 0.065 332.6)
XYZxyz(1.7936, 1.1495, 2.4124)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F102B #102F14
analogous
#24102F #2F102B #2F101C
triadic
#2F102B #2B2F10 #102B2F
tetradic
#2F102B #2F2410 #102F14 #101C2F
square
#2F102B #2F2410 #102F14 #101C2F
split-complementary
#2F102B #1C2F10 #102F24
monochromatic
#170815 #170815 #2F102B #5D2055 #8A2F7F

Accessibility & contrast

On white

17.08
#2F102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F102B
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F102B#FFFFFF#000000##FFFFFF
##2F102B1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#31121B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f102b;
/* rgb */ color: rgb(47, 16, 43);
/* oklch */ color: oklch(23.4% 0.065 332.6);
Tailwind
colors: {
  custom: {
    50: '#695064',
    500: '#2f102b',
    950: '#000000',
  },
}
SCSS
$custom: #2f102b;
$custom-light: #695064;
$custom-dark: #000000;
JSON
{
  "hex": "#2f102b",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 307.742,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23407,
    "c": 0.06542,
    "h": 332.6
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2F102B
secondary
#33683A
accent
#D9614F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2F102B

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

Preview Lab → · Contrast checker → · Palette generator →

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