#2F2133#2F2133

#2F2133 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.3% C 0.038 H 318.6°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2133
RGBrgb(47, 33, 51)
HSLhsl(287, 21%, 16%)
HSVhsv(287, 35%, 20%)
CMYKcmyk(7.8%, 35.3%, 0%, 80%)
CIE-LABlab(15.12, 10.76, -9.21)
CIE-LCHlch(15.12, 14.17, 319.44°)
OKLaboklab(27.25% 0.0285 -0.0251)
OKLCHoklch(27.25% 0.038 318.6)
XYZxyz(2.3136, 1.9311, 3.3822)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2133 #253321
analogous
#262133 #2F2133 #33212E
triadic
#2F2133 #332F21 #21332F
tetradic
#2F2133 #332621 #253321 #212E33
square
#2F2133 #332621 #253321 #212E33
split-complementary
#2F2133 #2E3321 #213326
monochromatic
#110C13 #110C13 #2F2133 #513958 #73517D

Accessibility & contrast

On white

15.15
#2F2133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2133
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2133#FFFFFF#000000##FFFFFF
##2F21331.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2534
Deuteranopia (green-blind)
#222632
Tritanopia (blue-blind)
#2F2327
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2f2133;
/* rgb */ color: rgb(47, 33, 51);
/* oklch */ color: oklch(27.3% 0.038 318.6);
Tailwind
colors: {
  custom: {
    50: '#675c6a',
    500: '#2f2133',
    950: '#000000',
  },
}
SCSS
$custom: #2f2133;
$custom-light: #675c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2133",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 51
  },
  "hsl": {
    "h": 286.667,
    "s": 21.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27253,
    "c": 0.03794,
    "h": 318.6
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#2F2133
secondary
#51654B
accent
#BE6A7D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2F2133

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

Preview Lab → · Contrast checker → · Palette generator →

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