#2F0630#2F0630

#2F0630 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.088 H 327.0°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2F0630
RGBrgb(47, 6, 48)
HSLhsl(299, 78%, 11%)
HSVhsv(299, 88%, 19%)
CMYKcmyk(2.1%, 87.5%, 0%, 81.2%)
CIE-LABlab(8.55, 26.73, -17.30)
CIE-LCHlch(8.55, 31.84, 327.09°)
OKLaboklab(22.33% 0.074 -0.048)
OKLCHoklch(22.33% 0.088 327)
XYZxyz(1.7709, 0.9481, 2.8855)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0630 #073006
analogous
#1A0630 #2F0630 #30061C
triadic
#2F0630 #302F06 #06302F
tetradic
#2F0630 #301A06 #073006 #061C30
square
#2F0630 #301A06 #073006 #061C30
split-complementary
#2F0630 #1C3006 #06301A
monochromatic
#1B031B #1B031B #2F0630 #640D66 #9A149D

Accessibility & contrast

On white

17.65
#2F0630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0630
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0630#FFFFFF#000000##FFFFFF
##2F06301.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011531
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#310C1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0630;
/* rgb */ color: rgb(47, 6, 48);
/* oklch */ color: oklch(22.3% 0.088 327.0);
Tailwind
colors: {
  custom: {
    50: '#6a4a68',
    500: '#2f0630',
    950: '#000000',
  },
}
SCSS
$custom: #2f0630;
$custom-light: #6a4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0630",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 298.571,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22328,
    "c": 0.0882,
    "h": 327
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#2F0630
secondary
#237121
accent
#F43438
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0630

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

Preview Lab → · Contrast checker → · Palette generator →

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