#2F0B3C#2F0B3C

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

Color values

HEX#2F0B3C
RGBrgb(47, 11, 60)
HSLhsl(284, 69%, 14%)
HSVhsv(284, 82%, 24%)
CMYKcmyk(21.7%, 81.7%, 0%, 76.5%)
CIE-LABlab(10.33, 26.96, -23.17)
CIE-LCHlch(10.33, 35.55, 319.32°)
OKLaboklab(23.89% 0.0664 -0.0652)
OKLCHoklch(23.89% 0.093 315.5)
XYZxyz(2.1074, 1.1700, 4.3889)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B3C #183C0B
analogous
#170B3C #2F0B3C #3C0B31
triadic
#2F0B3C #3C2F0B #0B3C2F
tetradic
#2F0B3C #3C170B #183C0B #0B313C
square
#2F0B3C #3C170B #183C0B #0B313C
split-complementary
#2F0B3C #313C0B #0B3C17
monochromatic
#14051A #14051A #2F0B3C #581470 #801EA3

Accessibility & contrast

On white

17.02
#2F0B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B3C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B3C#FFFFFF#000000##FFFFFF
##2F0B3C1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#0A1D3B
Tritanopia (blue-blind)
#2E1522
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0b3c;
/* rgb */ color: rgb(47, 11, 60);
/* oklch */ color: oklch(23.9% 0.093 315.5);
Tailwind
colors: {
  custom: {
    50: '#6a4e72',
    500: '#2f0b3c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b3c;
$custom-light: #6a4e72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b3c",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 60
  },
  "hsl": {
    "h": 284.082,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2389,
    "c": 0.09307,
    "h": 315.5
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#2F0B3C
secondary
#3F792A
accent
#EC3C6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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