#2F0D40#2F0D40

#2F0D40 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.095 H 312.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2F0D40
RGBrgb(47, 13, 64)
HSLhsl(280, 66%, 15%)
HSVhsv(280, 80%, 25%)
CMYKcmyk(26.6%, 79.7%, 0%, 74.9%)
CIE-LABlab(11.01, 26.96, -24.93)
CIE-LCHlch(11.01, 36.72, 317.24°)
OKLaboklab(24.47% 0.0634 -0.0704)
OKLCHoklch(24.47% 0.095 312)
XYZxyz(2.2415, 1.2624, 4.9751)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D40 #1E400D
analogous
#150D40 #2F0D40 #400D37
triadic
#2F0D40 #402F0D #0D402F
tetradic
#2F0D40 #40150D #1E400D #0D3740
square
#2F0D40 #40150D #1E400D #0D3740
split-complementary
#2F0D40 #37400D #0D4015
monochromatic
#130519 #130519 #2F0D40 #541773 #7A22A6

Accessibility & contrast

On white

16.77
#2F0D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D40
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D40#FFFFFF#000000##FFFFFF
##2F0D401.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#071E3F
Tritanopia (blue-blind)
#2D1825
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0d40;
/* rgb */ color: rgb(47, 13, 64);
/* oklch */ color: oklch(24.5% 0.095 312.0);
Tailwind
colors: {
  custom: {
    50: '#6a4f75',
    500: '#2f0d40',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d40;
$custom-light: #6a4f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d40",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 280,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24474,
    "c": 0.09472,
    "h": 312
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#2F0D40
secondary
#477C2D
accent
#E93F77
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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