#2F0E3D#2F0E3D

#2F0E3D is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.090 H 314.1°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2F0E3D
RGBrgb(47, 14, 61)
HSLhsl(282, 63%, 15%)
HSVhsv(282, 77%, 24%)
CMYKcmyk(23%, 77%, 0%, 76.1%)
CIE-LABlab(10.96, 25.67, -22.88)
CIE-LCHlch(10.96, 34.39, 318.29°)
OKLaboklab(24.36% 0.0624 -0.0644)
OKLCHoklch(24.36% 0.09 314.1)
XYZxyz(2.1715, 1.2554, 4.5419)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E3D #1C3D0E
analogous
#180E3D #2F0E3D #3D0E34
triadic
#2F0E3D #3D2F0E #0E3D2F
tetradic
#2F0E3D #3D180E #1C3D0E #0E343D
square
#2F0E3D #3D180E #1C3D0E #0E343D
split-complementary
#2F0E3D #343D0E #0E3D18
monochromatic
#130619 #130619 #2F0E3D #55196F #7C25A1

Accessibility & contrast

On white

16.79
#2F0E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F0E3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E3D
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E3D#FFFFFF#000000##FFFFFF
##2F0E3D1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#2E1724
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0e3d;
/* rgb */ color: rgb(47, 14, 61);
/* oklch */ color: oklch(24.4% 0.090 314.1);
Tailwind
colors: {
  custom: {
    50: '#6a4f73',
    500: '#2f0e3d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e3d;
$custom-light: #6a4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e3d",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 61
  },
  "hsl": {
    "h": 282.128,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24363,
    "c": 0.08966,
    "h": 314.1
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#2F0E3D
secondary
#45782F
accent
#E64273
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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