#2F0A3A#2F0A3A

#2F0A3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.092 H 317.3°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2F0A3A
RGBrgb(47, 10, 58)
HSLhsl(286, 71%, 13%)
HSVhsv(286, 83%, 23%)
CMYKcmyk(19%, 82.8%, 0%, 77.3%)
CIE-LABlab(10.01, 26.95, -22.26)
CIE-LCHlch(10.01, 34.96, 320.45°)
OKLaboklab(23.61% 0.0678 -0.0626)
OKLCHoklch(23.61% 0.092 317.3)
XYZxyz(2.0444, 1.1270, 4.1120)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A3A #153A0A
analogous
#170A3A #2F0A3A #3A0A2D
triadic
#2F0A3A #3A2F0A #0A3A2F
tetradic
#2F0A3A #3A170A #153A0A #0A2D3A
square
#2F0A3A #3A170A #153A0A #0A2D3A
split-complementary
#2F0A3A #2D3A0A #0A3A17
monochromatic
#15051A #15051A #2F0A3A #59136E #841CA2

Accessibility & contrast

On white

17.14
#2F0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A3A
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A3A#FFFFFF#000000##FFFFFF
##2F0A3A1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#0B1D39
Tritanopia (blue-blind)
#2F1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0a3a;
/* rgb */ color: rgb(47, 10, 58);
/* oklch */ color: oklch(23.6% 0.092 317.3);
Tailwind
colors: {
  custom: {
    50: '#6a4d70',
    500: '#2f0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a3a;
$custom-light: #6a4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a3a",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 286.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23607,
    "c": 0.09227,
    "h": 317.3
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#2F0A3A
secondary
#3B7728
accent
#ED3A63
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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