#2F2136#2F2136

#2F2136 is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.4% C 0.042 H 314.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#2F2136
RGBrgb(47, 33, 54)
HSLhsl(280, 24%, 17%)
HSVhsv(280, 39%, 21%)
CMYKcmyk(13%, 38.9%, 0%, 78.8%)
CIE-LABlab(15.27, 11.54, -11.11)
CIE-LCHlch(15.27, 16.03, 316.09°)
OKLaboklab(27.41% 0.0295 -0.0305)
OKLCHoklch(27.41% 0.042 314.1)
XYZxyz(2.3819, 1.9584, 3.7419)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2136 #283621
analogous
#252136 #2F2136 #362133
triadic
#2F2136 #362F21 #21362F
tetradic
#2F2136 #362521 #283621 #213336
square
#2F2136 #362521 #283621 #213336
split-complementary
#2F2136 #333621 #213625
monochromatic
#110C13 #110C13 #2F2136 #50385C #714F82

Accessibility & contrast

On white

15.09
#2F2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2F2136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2136
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2136#FFFFFF#000000##FFFFFF
##2F21361.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2537
Deuteranopia (green-blind)
#212735
Tritanopia (blue-blind)
#2F2429
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2f2136;
/* rgb */ color: rgb(47, 33, 54);
/* oklch */ color: oklch(27.4% 0.042 314.1);
Tailwind
colors: {
  custom: {
    50: '#685c6d',
    500: '#2f2136',
    950: '#000000',
  },
}
SCSS
$custom: #2f2136;
$custom-light: #685c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2136",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 280,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27413,
    "c": 0.0424,
    "h": 314.1
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#2F2136
secondary
#54694A
accent
#C16785
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2F2136

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

Preview Lab → · Contrast checker → · Palette generator →

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