#2F0F3D#2F0F3D

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

Color values

HEX#2F0F3D
RGBrgb(47, 15, 61)
HSLhsl(282, 61%, 15%)
HSVhsv(282, 75%, 24%)
CMYKcmyk(23%, 75.4%, 0%, 76.1%)
CIE-LABlab(11.16, 25.12, -22.56)
CIE-LCHlch(11.16, 33.77, 318.07°)
OKLaboklab(24.5% 0.061 -0.0635)
OKLCHoklch(24.5% 0.088 313.9)
XYZxyz(2.1853, 1.2830, 4.5465)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F3D #1D3D0F
analogous
#180F3D #2F0F3D #3D0F34
triadic
#2F0F3D #3D2F0F #0F3D2F
tetradic
#2F0F3D #3D180F #1D3D0F #0F343D
square
#2F0F3D #3D180F #1D3D0F #0F343D
split-complementary
#2F0F3D #343D0F #0F3D18
monochromatic
#130619 #130619 #2F0F3D #551B6E #7B279F

Accessibility & contrast

On white

16.71
#2F0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F3D
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F3D#FFFFFF#000000##FFFFFF
##2F0F3D1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0D1F3C
Tritanopia (blue-blind)
#2E1824
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0f3d;
/* rgb */ color: rgb(47, 15, 61);
/* oklch */ color: oklch(24.5% 0.088 313.9);
Tailwind
colors: {
  custom: {
    50: '#695073',
    500: '#2f0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f3d;
$custom-light: #695073;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f3d",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 281.739,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24503,
    "c": 0.08805,
    "h": 313.9
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#2F0F3D
secondary
#467730
accent
#E44475
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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