#2F0B3F#2F0B3F

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

Color values

HEX#2F0B3F
RGBrgb(47, 11, 63)
HSLhsl(282, 70%, 15%)
HSVhsv(282, 83%, 25%)
CMYKcmyk(25.4%, 82.5%, 0%, 75.3%)
CIE-LABlab(10.58, 27.70, -24.92)
CIE-LCHlch(10.58, 37.26, 318.03°)
OKLaboklab(24.14% 0.066 -0.0704)
OKLCHoklch(24.14% 0.096 313.1)
XYZxyz(2.1890, 1.2026, 4.8185)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B3F #1B3F0B
analogous
#150B3F #2F0B3F #3F0B35
triadic
#2F0B3F #3F2F0B #0B3F2F
tetradic
#2F0B3F #3F150B #1B3F0B #0B353F
square
#2F0B3F #3F150B #1B3F0B #0B353F
split-complementary
#2F0B3F #353F0B #0B3F15
monochromatic
#13051A #13051A #2F0B3F #561473 #7D1DA7

Accessibility & contrast

On white

16.93
#2F0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B3F
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B3F#FFFFFF#000000##FFFFFF
##2F0B3F1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#071D3E
Tritanopia (blue-blind)
#2D1624
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0b3f;
/* rgb */ color: rgb(47, 11, 63);
/* oklch */ color: oklch(24.1% 0.096 313.1);
Tailwind
colors: {
  custom: {
    50: '#6a4e74',
    500: '#2f0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b3f;
$custom-light: #6a4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b3f",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 281.538,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2414,
    "c": 0.09644,
    "h": 313.1
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2F0B3F
secondary
#437C2A
accent
#ED3B72
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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