#2F0537#2F0537

#2F0537 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.097 H 320.6°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2F0537
RGBrgb(47, 5, 55)
HSLhsl(290, 83%, 12%)
HSVhsv(290, 91%, 22%)
CMYKcmyk(14.5%, 90.9%, 0%, 78.4%)
CIE-LABlab(8.90, 28.76, -21.87)
CIE-LCHlch(8.90, 36.14, 322.75°)
OKLaboklab(22.74% 0.0748 -0.0614)
OKLCHoklch(22.74% 0.097 320.6)
XYZxyz(1.9161, 0.9888, 3.7036)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0537 #0D3705
analogous
#160537 #2F0537 #370526
triadic
#2F0537 #372F05 #05372F
tetradic
#2F0537 #371605 #0D3705 #052637
square
#2F0537 #371605 #0D3705 #052637
split-complementary
#2F0537 #263705 #053716
monochromatic
#18031C #18031C #2F0537 #5F0A6F #8F0FA7

Accessibility & contrast

On white

17.53
#2F0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0537
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0537#FFFFFF#000000##FFFFFF
##2F05371.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#2F0F1E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0537;
/* rgb */ color: rgb(47, 5, 55);
/* oklch */ color: oklch(22.7% 0.097 320.6);
Tailwind
colors: {
  custom: {
    50: '#6a4a6e',
    500: '#2f0537',
    950: '#000000',
  },
}
SCSS
$custom: #2f0537;
$custom-light: #6a4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0537",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 290.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22744,
    "c": 0.09674,
    "h": 320.6
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#2F0537
secondary
#2E7820
accent
#FA2E4F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0537

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

Preview Lab → · Contrast checker → · Palette generator →

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