#2F1135#2F1135

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

Color values

HEX#2F1135
RGBrgb(47, 17, 53)
HSLhsl(290, 51%, 14%)
HSVhsv(290, 68%, 21%)
CMYKcmyk(11.3%, 67.9%, 0%, 79.2%)
CIE-LABlab(11.01, 21.97, -17.05)
CIE-LCHlch(11.01, 27.81, 322.18°)
OKLaboklab(24.22% 0.0579 -0.0474)
OKLCHoklch(24.22% 0.075 320.7)
XYZxyz(2.0153, 1.2624, 3.5050)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1135 #173511
analogous
#1D1135 #2F1135 #351129
triadic
#2F1135 #352F11 #11352F
tetradic
#2F1135 #351D11 #173511 #112935
square
#2F1135 #351D11 #173511 #112935
split-complementary
#2F1135 #293511 #11351D
monochromatic
#150717 #150717 #2F1135 #582063 #812F92

Accessibility & contrast

On white

16.77
#2F1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1135
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1135#FFFFFF#000000##FFFFFF
##2F11351.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B36
Deuteranopia (green-blind)
#141F34
Tritanopia (blue-blind)
#2F1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f1135;
/* rgb */ color: rgb(47, 17, 53);
/* oklch */ color: oklch(24.2% 0.075 320.7);
Tailwind
colors: {
  custom: {
    50: '#69516c',
    500: '#2f1135',
    950: '#000000',
  },
}
SCSS
$custom: #2f1135;
$custom-light: #69516c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1135",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 290,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24215,
    "c": 0.07484,
    "h": 320.7
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#2F1135
secondary
#3D6E34
accent
#DB4D65
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F1135

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

Preview Lab → · Contrast checker → · Palette generator →

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