#2F1037#2F1037

#2F1037 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.079 H 318.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2F1037
RGBrgb(47, 16, 55)
HSLhsl(288, 55%, 14%)
HSVhsv(288, 71%, 22%)
CMYKcmyk(14.5%, 70.9%, 0%, 78.4%)
CIE-LABlab(10.93, 23.05, -18.63)
CIE-LCHlch(10.93, 29.64, 321.05°)
OKLaboklab(24.2% 0.0596 -0.052)
OKLCHoklch(24.2% 0.079 318.9)
XYZxyz(2.0471, 1.2508, 3.7473)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1037 #183710
analogous
#1C1037 #2F1037 #37102C
triadic
#2F1037 #372F10 #10372F
tetradic
#2F1037 #371C10 #183710 #102C37
square
#2F1037 #371C10 #183710 #102C37
split-complementary
#2F1037 #2C3710 #10371C
monochromatic
#140718 #140718 #2F1037 #581E66 #802C96

Accessibility & contrast

On white

16.80
#2F1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1037
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1037#FFFFFF#000000##FFFFFF
##2F10371.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061B38
Deuteranopia (green-blind)
#121E36
Tritanopia (blue-blind)
#2F1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f1037;
/* rgb */ color: rgb(47, 16, 55);
/* oklch */ color: oklch(24.2% 0.079 318.9);
Tailwind
colors: {
  custom: {
    50: '#69506e',
    500: '#2f1037',
    950: '#000000',
  },
}
SCSS
$custom: #2f1037;
$custom-light: #69506e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1037",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 287.692,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24198,
    "c": 0.0791,
    "h": 318.9
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#2F1037
secondary
#3F7132
accent
#DE4A68
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F1037

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

Preview Lab → · Contrast checker → · Palette generator →

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