#2F1035#2F1035

#2F1035 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.077 H 320.9°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2F1035
RGBrgb(47, 16, 53)
HSLhsl(290, 54%, 14%)
HSVhsv(290, 70%, 21%)
CMYKcmyk(11.3%, 69.8%, 0%, 79.2%)
CIE-LABlab(10.79, 22.56, -17.40)
CIE-LCHlch(10.79, 28.49, 322.36°)
OKLaboklab(24.06% 0.0595 -0.0484)
OKLCHoklch(24.06% 0.077 320.9)
XYZxyz(2.0001, 1.2321, 3.4999)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1035 #163510
analogous
#1C1035 #2F1035 #351028
triadic
#2F1035 #352F10 #10352F
tetradic
#2F1035 #351C10 #163510 #102835
square
#2F1035 #351C10 #163510 #102835
split-complementary
#2F1035 #283510 #10351C
monochromatic
#150718 #150718 #2F1035 #591E64 #822C93

Accessibility & contrast

On white

16.85
#2F1035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1035
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1035#FFFFFF#000000##FFFFFF
##2F10351.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#141E34
Tritanopia (blue-blind)
#2F1620
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f1035;
/* rgb */ color: rgb(47, 16, 53);
/* oklch */ color: oklch(24.1% 0.077 320.9);
Tailwind
colors: {
  custom: {
    50: '#69506c',
    500: '#2f1035',
    950: '#000000',
  },
}
SCSS
$custom: #2f1035;
$custom-light: #69506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1035",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 290.27,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24056,
    "c": 0.07671,
    "h": 320.9
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#2F1035
secondary
#3C6F32
accent
#DD4B63
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F1035

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

Preview Lab → · Contrast checker → · Palette generator →

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