#2F0A37#2F0A37

#2F0A37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.089 H 319.9°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2F0A37
RGBrgb(47, 10, 55)
HSLhsl(289, 69%, 13%)
HSVhsv(289, 82%, 22%)
CMYKcmyk(14.5%, 81.8%, 0%, 78.4%)
CIE-LABlab(9.78, 26.24, -20.46)
CIE-LCHlch(9.78, 33.28, 322.05°)
OKLaboklab(23.37% 0.0681 -0.0573)
OKLCHoklch(23.37% 0.089 319.9)
XYZxyz(1.9703, 1.0974, 3.7217)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A37 #12370A
analogous
#180A37 #2F0A37 #370A28
triadic
#2F0A37 #372F0A #0A372F
tetradic
#2F0A37 #37180A #12370A #0A2837
square
#2F0A37 #37180A #12370A #0A2837
split-complementary
#2F0A37 #28370A #0A3718
monochromatic
#16051A #16051A #2F0A37 #5B136B #881D9F

Accessibility & contrast

On white

17.22
#2F0A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A37
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A37#FFFFFF#000000##FFFFFF
##2F0A371.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0a37;
/* rgb */ color: rgb(47, 10, 55);
/* oklch */ color: oklch(23.4% 0.089 319.9);
Tailwind
colors: {
  custom: {
    50: '#694d6e',
    500: '#2f0a37',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a37;
$custom-light: #694d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a37",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 289.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23369,
    "c": 0.08899,
    "h": 319.9
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#2F0A37
secondary
#367428
accent
#EC3C5B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0A37

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

Preview Lab → · Contrast checker → · Palette generator →

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