#2F0634#2F0634

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

Color values

HEX#2F0634
RGBrgb(47, 6, 52)
HSLhsl(293, 79%, 11%)
HSVhsv(293, 88%, 20%)
CMYKcmyk(9.6%, 88.5%, 0%, 79.6%)
CIE-LABlab(8.85, 27.58, -19.77)
CIE-LCHlch(8.85, 33.93, 324.36°)
OKLaboklab(22.63% 0.0737 -0.0552)
OKLCHoklch(22.63% 0.092 323.2)
XYZxyz(1.8572, 0.9826, 3.3400)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0634 #0B3406
analogous
#180634 #2F0634 #340622
triadic
#2F0634 #342F06 #06342F
tetradic
#2F0634 #341806 #0B3406 #062234
square
#2F0634 #341806 #0B3406 #062234
split-complementary
#2F0634 #223406 #063418
monochromatic
#19031B #19031B #2F0634 #610C6B #9213A2

Accessibility & contrast

On white

17.55
#2F0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0634
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0634#FFFFFF#000000##FFFFFF
##2F06341.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0634;
/* rgb */ color: rgb(47, 6, 52);
/* oklch */ color: oklch(22.6% 0.092 323.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b6c',
    500: '#2f0634',
    950: '#000000',
  },
}
SCSS
$custom: #2f0634;
$custom-light: #6a4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0634",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 293.478,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22633,
    "c": 0.09213,
    "h": 323.2
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2F0634
secondary
#2A7421
accent
#F63247
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0634

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

Preview Lab → · Contrast checker → · Palette generator →

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