#2F0A3C#2F0A3C

#2F0A3C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.094 H 315.7°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2F0A3C
RGBrgb(47, 10, 60)
HSLhsl(284, 71%, 14%)
HSVhsv(284, 83%, 24%)
CMYKcmyk(21.7%, 83.3%, 0%, 76.5%)
CIE-LABlab(10.17, 27.44, -23.44)
CIE-LCHlch(10.17, 36.09, 319.49°)
OKLaboklab(23.77% 0.0676 -0.066)
OKLCHoklch(23.77% 0.094 315.7)
XYZxyz(2.0963, 1.1477, 4.3852)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A3C #173C0A
analogous
#160A3C #2F0A3C #3C0A30
triadic
#2F0A3C #3C2F0A #0A3C2F
tetradic
#2F0A3C #3C160A #173C0A #0A303C
square
#2F0A3C #3C160A #173C0A #0A303C
split-complementary
#2F0A3C #303C0A #0A3C16
monochromatic
#15041A #15041A #2F0A3C #581370 #811BA5

Accessibility & contrast

On white

17.08
#2F0A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A3C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A3C#FFFFFF#000000##FFFFFF
##2F0A3C1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0a3c;
/* rgb */ color: rgb(47, 10, 60);
/* oklch */ color: oklch(23.8% 0.094 315.7);
Tailwind
colors: {
  custom: {
    50: '#6a4d72',
    500: '#2f0a3c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a3c;
$custom-light: #6a4d72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a3c",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 284.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2377,
    "c": 0.09448,
    "h": 315.7
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#2F0A3C
secondary
#3D7928
accent
#EE3A69
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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