#2F0A3F#2F0A3F

#2F0A3F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.098 H 313.3°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2F0A3F
RGBrgb(47, 10, 63)
HSLhsl(282, 73%, 14%)
HSVhsv(282, 84%, 25%)
CMYKcmyk(25.4%, 84.1%, 0%, 75.3%)
CIE-LABlab(10.41, 28.17, -25.19)
CIE-LCHlch(10.41, 37.79, 318.20°)
OKLaboklab(24.02% 0.0671 -0.0711)
OKLCHoklch(24.02% 0.098 313.3)
XYZxyz(2.1779, 1.1804, 4.8148)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A3F #1A3F0A
analogous
#150A3F #2F0A3F #3F0A35
triadic
#2F0A3F #3F2F0A #0A3F2F
tetradic
#2F0A3F #3F150A #1A3F0A #0A353F
square
#2F0A3F #3F150A #1A3F0A #0A353F
split-complementary
#2F0A3F #353F0A #0A3F15
monochromatic
#14041A #14041A #2F0A3F #561274 #7E1BA9

Accessibility & contrast

On white

16.99
#2F0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A3F
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A3F#FFFFFF#000000##FFFFFF
##2F0A3F1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#061D3E
Tritanopia (blue-blind)
#2D1624
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0a3f;
/* rgb */ color: rgb(47, 10, 63);
/* oklch */ color: oklch(24.0% 0.098 313.3);
Tailwind
colors: {
  custom: {
    50: '#6a4d74',
    500: '#2f0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a3f;
$custom-light: #6a4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a3f",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 281.887,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24023,
    "c": 0.0978,
    "h": 313.3
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#2F0A3F
secondary
#427C29
accent
#EF3870
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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