#2F0D3E#2F0D3E

#2F0D3E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.092 H 313.5°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2F0D3E
RGBrgb(47, 13, 62)
HSLhsl(282, 65%, 15%)
HSVhsv(282, 79%, 24%)
CMYKcmyk(24.2%, 79%, 0%, 75.7%)
CIE-LABlab(10.85, 26.45, -23.77)
CIE-LCHlch(10.85, 35.56, 318.06°)
OKLaboklab(24.31% 0.0636 -0.067)
OKLCHoklch(24.31% 0.092 313.5)
XYZxyz(2.1856, 1.2401, 4.6807)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D3E #1C3E0D
analogous
#170D3E #2F0D3E #3E0D35
triadic
#2F0D3E #3E2F0D #0D3E2F
tetradic
#2F0D3E #3E170D #1C3E0D #0D353E
square
#2F0D3E #3E170D #1C3E0D #0D353E
split-complementary
#2F0D3E #353E0D #0D3E17
monochromatic
#130519 #130519 #2F0D3E #551871 #7C22A3

Accessibility & contrast

On white

16.83
#2F0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D3E
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D3E#FFFFFF#000000##FFFFFF
##2F0D3E1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#2D1724
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0d3e;
/* rgb */ color: rgb(47, 13, 62);
/* oklch */ color: oklch(24.3% 0.092 313.5);
Tailwind
colors: {
  custom: {
    50: '#6a4f73',
    500: '#2f0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d3e;
$custom-light: #6a4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d3e",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 281.633,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24309,
    "c": 0.09239,
    "h": 313.5
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#2F0D3E
secondary
#457A2D
accent
#E84073
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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