#2F1034#2F1034

#2F1034 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.076 H 321.9°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#2F1034
RGBrgb(47, 16, 52)
HSLhsl(292, 53%, 13%)
HSVhsv(292, 69%, 20%)
CMYKcmyk(9.6%, 69.2%, 0%, 79.6%)
CIE-LABlab(10.73, 22.32, -16.78)
CIE-LCHlch(10.73, 27.92, 323.07°)
OKLaboklab(23.99% 0.0594 -0.0466)
OKLCHoklch(23.99% 0.076 321.9)
XYZxyz(1.9773, 1.2229, 3.3800)
Luminance0.0122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1034 #153410
analogous
#1D1034 #2F1034 #341027
triadic
#2F1034 #342F10 #10342F
tetradic
#2F1034 #341D10 #153410 #102734
square
#2F1034 #341D10 #153410 #102734
split-complementary
#2F1034 #273410 #10341D
monochromatic
#150717 #150717 #2F1034 #591E63 #842D92

Accessibility & contrast

On white

16.87
#2F1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1034
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1034#FFFFFF#000000##FFFFFF
##2F10341.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B35
Deuteranopia (green-blind)
#141E33
Tritanopia (blue-blind)
#301520
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f1034;
/* rgb */ color: rgb(47, 16, 52);
/* oklch */ color: oklch(24.0% 0.076 321.9);
Tailwind
colors: {
  custom: {
    50: '#69506b',
    500: '#2f1034',
    950: '#000000',
  },
}
SCSS
$custom: #2f1034;
$custom-light: #69506b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1034",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 291.667,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23986,
    "c": 0.07553,
    "h": 321.9
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#2F1034
secondary
#3B6E32
accent
#DC4B60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F1034

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

Preview Lab → · Contrast checker → · Palette generator →

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