#2F0D3C#2F0D3C

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

Color values

HEX#2F0D3C
RGBrgb(47, 13, 60)
HSLhsl(283, 64%, 14%)
HSVhsv(283, 78%, 24%)
CMYKcmyk(21.7%, 78.3%, 0%, 76.5%)
CIE-LABlab(10.69, 25.95, -22.59)
CIE-LCHlch(10.69, 34.41, 318.95°)
OKLaboklab(24.15% 0.0638 -0.0636)
OKLCHoklch(24.15% 0.09 315.1)
XYZxyz(2.1317, 1.2185, 4.3970)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D3C #1A3C0D
analogous
#180D3C #2F0D3C #3C0D32
triadic
#2F0D3C #3C2F0D #0D3C2F
tetradic
#2F0D3C #3C180D #1A3C0D #0D323C
square
#2F0D3C #3C180D #1A3C0D #0D323C
split-complementary
#2F0D3C #323C0D #0D3C18
monochromatic
#140519 #140519 #2F0D3C #56186E #7E23A1

Accessibility & contrast

On white

16.89
#2F0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D3C
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D3C#FFFFFF#000000##FFFFFF
##2F0D3C1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0d3c;
/* rgb */ color: rgb(47, 13, 60);
/* oklch */ color: oklch(24.1% 0.090 315.1);
Tailwind
colors: {
  custom: {
    50: '#6a4f72',
    500: '#2f0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d3c;
$custom-light: #6a4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d3c",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 283.404,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24147,
    "c": 0.09006,
    "h": 315.1
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#2F0D3C
secondary
#42782D
accent
#E7406F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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