#2F0E39#2F0E39

#2F0E39 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.085 H 317.5°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#2F0E39
RGBrgb(47, 14, 57)
HSLhsl(286, 61%, 14%)
HSVhsv(286, 75%, 22%)
CMYKcmyk(17.5%, 75.4%, 0%, 77.6%)
CIE-LABlab(10.66, 24.67, -20.50)
CIE-LCHlch(10.66, 32.07, 320.28°)
OKLaboklab(24.05% 0.0626 -0.0574)
OKLCHoklch(24.05% 0.085 317.5)
XYZxyz(2.0677, 1.2139, 3.9955)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E39 #18390E
analogous
#1A0E39 #2F0E39 #390E2E
triadic
#2F0E39 #392F0E #0E392F
tetradic
#2F0E39 #391A0E #18390E #0E2E39
square
#2F0E39 #391A0E #18390E #0E2E39
split-complementary
#2F0E39 #2E390E #0E391A
monochromatic
#140619 #140619 #2F0E39 #581A6A #80269B

Accessibility & contrast

On white

16.90
#2F0E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E39
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E39#FFFFFF#000000##FFFFFF
##2F0E391.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#2F1622
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0e39;
/* rgb */ color: rgb(47, 14, 57);
/* oklch */ color: oklch(24.1% 0.085 317.5);
Tailwind
colors: {
  custom: {
    50: '#694f6f',
    500: '#2f0e39',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e39;
$custom-light: #694f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e39",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 286.047,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2405,
    "c": 0.08495,
    "h": 317.5
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#2F0E39
secondary
#3F742F
accent
#E44469
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0E39

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

Preview Lab → · Contrast checker → · Palette generator →

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