#2F0B37#2F0B37

#2F0B37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.087 H 319.8°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#2F0B37
RGBrgb(47, 11, 55)
HSLhsl(289, 67%, 13%)
HSVhsv(289, 80%, 22%)
CMYKcmyk(14.5%, 80%, 0%, 78.4%)
CIE-LABlab(9.95, 25.76, -20.19)
CIE-LCHlch(9.95, 32.72, 321.91°)
OKLaboklab(23.49% 0.0668 -0.0565)
OKLCHoklch(23.49% 0.087 319.8)
XYZxyz(1.9815, 1.1196, 3.7254)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B37 #13370B
analogous
#190B37 #2F0B37 #370B29
triadic
#2F0B37 #372F0B #0B372F
tetradic
#2F0B37 #37190B #13370B #0B2937
square
#2F0B37 #37190B #13370B #0B2937
split-complementary
#2F0B37 #29370B #0B3719
monochromatic
#16051A #16051A #2F0B37 #5B156A #861F9D

Accessibility & contrast

On white

17.16
#2F0B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B37
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B37#FFFFFF#000000##FFFFFF
##2F0B371.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#0F1D36
Tritanopia (blue-blind)
#2F131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b37;
/* rgb */ color: rgb(47, 11, 55);
/* oklch */ color: oklch(23.5% 0.087 319.8);
Tailwind
colors: {
  custom: {
    50: '#694d6e',
    500: '#2f0b37',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b37;
$custom-light: #694d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b37",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 289.091,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23493,
    "c": 0.08749,
    "h": 319.8
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#2F0B37
secondary
#37742A
accent
#EA3E5D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0B37

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

Preview Lab → · Contrast checker → · Palette generator →

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