#2F0635#2F0635

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

Color values

HEX#2F0635
RGBrgb(47, 6, 53)
HSLhsl(292, 80%, 12%)
HSVhsv(292, 89%, 21%)
CMYKcmyk(11.3%, 88.7%, 0%, 79.2%)
CIE-LABlab(8.92, 27.80, -20.38)
CIE-LCHlch(8.92, 34.47, 323.75°)
OKLaboklab(22.71% 0.0736 -0.057)
OKLCHoklch(22.71% 0.093 322.3)
XYZxyz(1.8800, 0.9917, 3.4599)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0635 #0C3506
analogous
#180635 #2F0635 #350624
triadic
#2F0635 #352F06 #06352F
tetradic
#2F0635 #351806 #0C3506 #062435
square
#2F0635 #351806 #0C3506 #062435
split-complementary
#2F0635 #243506 #063518
monochromatic
#18031B #18031B #2F0635 #600C6C #9112A3

Accessibility & contrast

On white

17.52
#2F0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0635
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0635#FFFFFF#000000##FFFFFF
##2F06351.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#300F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0635;
/* rgb */ color: rgb(47, 6, 53);
/* oklch */ color: oklch(22.7% 0.093 322.3);
Tailwind
colors: {
  custom: {
    50: '#6a4b6c',
    500: '#2f0635',
    950: '#000000',
  },
}
SCSS
$custom: #2f0635;
$custom-light: #6a4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0635",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 292.34,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22711,
    "c": 0.09313,
    "h": 322.3
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#2F0635
secondary
#2C7521
accent
#F6324B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0635

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

Preview Lab → · Contrast checker → · Palette generator →

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