#2F0A2E#2F0A2E

#2F0A2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.079 H 328.9°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2F0A2E
RGBrgb(47, 10, 46)
HSLhsl(302, 65%, 11%)
HSVhsv(302, 79%, 18%)
CMYKcmyk(0%, 78.7%, 2.1%, 81.6%)
CIE-LABlab(9.15, 24.24, -14.87)
CIE-LCHlch(9.15, 28.44, 328.46°)
OKLaboklab(22.71% 0.0681 -0.041)
OKLCHoklch(22.71% 0.079 328.9)
XYZxyz(1.7740, 1.0188, 2.6875)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A2E #0A2F0B
analogous
#1D0A2F #2F0A2E #2F0A1B
triadic
#2F0A2E #2E2F0A #0A2E2F
tetradic
#2F0A2E #2F1D0A #0A2F0B #0A1B2F
square
#2F0A2E #2F1D0A #0A2F0B #0A1B2F
split-complementary
#2F0A2E #1B2F0A #0A2F1D
monochromatic
#190519 #190519 #2F0A2E #61155F #941F91

Accessibility & contrast

On white

17.44
#2F0A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A2E
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A2E#FFFFFF#000000##FFFFFF
##2F0A2E1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#310F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0a2e;
/* rgb */ color: rgb(47, 10, 46);
/* oklch */ color: oklch(22.7% 0.079 328.9);
Tailwind
colors: {
  custom: {
    50: '#694c67',
    500: '#2f0a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a2e;
$custom-light: #694c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a2e",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 301.622,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22712,
    "c": 0.07949,
    "h": 328.9
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#2F0A2E
secondary
#296C2A
accent
#E84440
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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