#2F0C3D#2F0C3D

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

Color values

HEX#2F0C3D
RGBrgb(47, 12, 61)
HSLhsl(283, 67%, 14%)
HSVhsv(283, 80%, 24%)
CMYKcmyk(23%, 80.3%, 0%, 76.1%)
CIE-LABlab(10.59, 26.71, -23.48)
CIE-LCHlch(10.59, 35.56, 318.69°)
OKLaboklab(24.1% 0.065 -0.0661)
OKLCHoklch(24.1% 0.093 314.5)
XYZxyz(2.1459, 1.2043, 4.5334)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C3D #1A3D0C
analogous
#170C3D #2F0C3D #3D0C33
triadic
#2F0C3D #3D2F0C #0C3D2F
tetradic
#2F0C3D #3D170C #1A3D0C #0C333D
square
#2F0C3D #3D170C #1A3D0C #0C333D
split-complementary
#2F0C3D #333D0C #0C3D17
monochromatic
#14051A #14051A #2F0C3D #561670 #7E20A3

Accessibility & contrast

On white

16.92
#2F0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C3D
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C3D#FFFFFF#000000##FFFFFF
##2F0C3D1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#0A1E3C
Tritanopia (blue-blind)
#2E1623
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0c3d;
/* rgb */ color: rgb(47, 12, 61);
/* oklch */ color: oklch(24.1% 0.093 314.5);
Tailwind
colors: {
  custom: {
    50: '#6a4e73',
    500: '#2f0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c3d;
$custom-light: #6a4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c3d",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 282.857,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24097,
    "c": 0.09273,
    "h": 314.5
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#2F0C3D
secondary
#42792C
accent
#EA3E6F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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