#2F0A33#2F0A33

#2F0A33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.085 H 323.7°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2F0A33
RGBrgb(47, 10, 51)
HSLhsl(294, 67%, 12%)
HSVhsv(294, 80%, 20%)
CMYKcmyk(7.8%, 80.4%, 0%, 80%)
CIE-LABlab(9.49, 25.33, -18.02)
CIE-LCHlch(9.49, 31.08, 324.57°)
OKLaboklab(23.07% 0.0682 -0.0501)
OKLCHoklch(23.07% 0.085 323.7)
XYZxyz(1.8783, 1.0605, 3.2371)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A33 #0E330A
analogous
#1B0A33 #2F0A33 #330A23
triadic
#2F0A33 #332F0A #0A332F
tetradic
#2F0A33 #331B0A #0E330A #0A2333
square
#2F0A33 #331B0A #0E330A #0A2333
split-complementary
#2F0A33 #23330A #0A331B
monochromatic
#18051A #18051A #2F0A33 #5E1466 #8D1E99

Accessibility & contrast

On white

17.33
#2F0A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A33
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A33#FFFFFF#000000##FFFFFF
##2F0A331.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021834
Deuteranopia (green-blind)
#111C32
Tritanopia (blue-blind)
#30111D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0a33;
/* rgb */ color: rgb(47, 10, 51);
/* oklch */ color: oklch(23.1% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#694d6b',
    500: '#2f0a33',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a33;
$custom-light: #694d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a33",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 294.146,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23066,
    "c": 0.08469,
    "h": 323.7
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2F0A33
secondary
#2F7028
accent
#EA3E4F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0A33

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

Preview Lab → · Contrast checker → · Palette generator →

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