#2F0A3D#2F0A3D

#2F0A3D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.096 H 314.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2F0A3D
RGBrgb(47, 10, 61)
HSLhsl(284, 72%, 14%)
HSVhsv(284, 84%, 24%)
CMYKcmyk(23%, 83.6%, 0%, 76.1%)
CIE-LABlab(10.25, 27.68, -24.03)
CIE-LCHlch(10.25, 36.65, 319.04°)
OKLaboklab(23.85% 0.0674 -0.0677)
OKLCHoklch(23.85% 0.096 314.9)
XYZxyz(2.1230, 1.1584, 4.5257)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A3D #183D0A
analogous
#160A3D #2F0A3D #3D0A32
triadic
#2F0A3D #3D2F0A #0A3D2F
tetradic
#2F0A3D #3D160A #183D0A #0A323D
square
#2F0A3D #3D160A #183D0A #0A323D
split-complementary
#2F0A3D #323D0A #0A3D16
monochromatic
#14041A #14041A #2F0A3D #581372 #801BA6

Accessibility & contrast

On white

17.05
#2F0A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A3D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A3D#FFFFFF#000000##FFFFFF
##2F0A3D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#081D3C
Tritanopia (blue-blind)
#2E1523
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0a3d;
/* rgb */ color: rgb(47, 10, 61);
/* oklch */ color: oklch(23.9% 0.096 314.9);
Tailwind
colors: {
  custom: {
    50: '#6a4d73',
    500: '#2f0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a3d;
$custom-light: #6a4d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a3d",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 283.529,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23854,
    "c": 0.09559,
    "h": 314.9
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#2F0A3D
secondary
#3F7A28
accent
#EF396B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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