#2F0633#2F0633

#2F0633 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.091 H 324.1°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2F0633
RGBrgb(47, 6, 51)
HSLhsl(295, 79%, 11%)
HSVhsv(295, 88%, 20%)
CMYKcmyk(7.8%, 88.2%, 0%, 80%)
CIE-LABlab(8.77, 27.36, -19.16)
CIE-LCHlch(8.77, 33.40, 325.00°)
OKLaboklab(22.56% 0.0738 -0.0534)
OKLCHoklch(22.56% 0.091 324.1)
XYZxyz(1.8349, 0.9737, 3.2226)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0633 #0A3306
analogous
#180633 #2F0633 #330620
triadic
#2F0633 #332F06 #06332F
tetradic
#2F0633 #331806 #0A3306 #062033
square
#2F0633 #331806 #0A3306 #062033
split-complementary
#2F0633 #203306 #063318
monochromatic
#19031B #19031B #2F0633 #610C6A #9413A1

Accessibility & contrast

On white

17.58
#2F0633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0633
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0633#FFFFFF#000000##FFFFFF
##2F06331.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#0E1B32
Tritanopia (blue-blind)
#300E1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0633;
/* rgb */ color: rgb(47, 6, 51);
/* oklch */ color: oklch(22.6% 0.091 324.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b6b',
    500: '#2f0633',
    950: '#000000',
  },
}
SCSS
$custom: #2f0633;
$custom-light: #6a4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0633",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 294.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22555,
    "c": 0.09113,
    "h": 324.1
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#2F0633
secondary
#297421
accent
#F53244
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0633

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

Preview Lab → · Contrast checker → · Palette generator →

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