#2F0637#2F0637

#2F0637 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.095 H 320.5°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2F0637
RGBrgb(47, 6, 55)
HSLhsl(290, 80%, 12%)
HSVhsv(290, 89%, 22%)
CMYKcmyk(14.5%, 89.1%, 0%, 78.4%)
CIE-LABlab(9.08, 28.24, -21.58)
CIE-LCHlch(9.08, 35.54, 322.61°)
OKLaboklab(22.87% 0.0734 -0.0605)
OKLCHoklch(22.87% 0.095 320.5)
XYZxyz(1.9269, 1.0105, 3.7072)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0637 #0E3706
analogous
#170637 #2F0637 #370627
triadic
#2F0637 #372F06 #06372F
tetradic
#2F0637 #371706 #0E3706 #062737
square
#2F0637 #371706 #0E3706 #062737
split-complementary
#2F0637 #273706 #063717
monochromatic
#18031C #18031C #2F0637 #5E0C6E #8D12A5

Accessibility & contrast

On white

17.47
#2F0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0637
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0637#FFFFFF#000000##FFFFFF
##2F06371.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#0B1B36
Tritanopia (blue-blind)
#2F101E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0637;
/* rgb */ color: rgb(47, 6, 55);
/* oklch */ color: oklch(22.9% 0.095 320.5);
Tailwind
colors: {
  custom: {
    50: '#6a4b6e',
    500: '#2f0637',
    950: '#000000',
  },
}
SCSS
$custom: #2f0637;
$custom-light: #6a4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0637",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 290.204,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22872,
    "c": 0.09514,
    "h": 320.5
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#2F0637
secondary
#2F7721
accent
#F73151
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0637

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

Preview Lab → · Contrast checker → · Palette generator →

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