#2F0735#2F0735

#2F0735 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.092 H 322.1°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#2F0735
RGBrgb(47, 7, 53)
HSLhsl(292, 77%, 12%)
HSVhsv(292, 87%, 21%)
CMYKcmyk(11.3%, 86.8%, 0%, 79.2%)
CIE-LABlab(9.10, 27.28, -20.09)
CIE-LCHlch(9.10, 33.88, 323.63°)
OKLaboklab(22.84% 0.0722 -0.0562)
OKLCHoklch(22.84% 0.092 322.1)
XYZxyz(1.8908, 1.0134, 3.4635)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0735 #0D3507
analogous
#180735 #2F0735 #350724
triadic
#2F0735 #352F07 #07352F
tetradic
#2F0735 #351807 #0D3507 #072435
square
#2F0735 #351807 #0D3507 #072435
split-complementary
#2F0735 #243507 #073518
monochromatic
#18041B #18041B #2F0735 #5F0E6B #8F15A1

Accessibility & contrast

On white

17.46
#2F0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0735
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0735#FFFFFF#000000##FFFFFF
##2F07351.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#30101D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0735;
/* rgb */ color: rgb(47, 7, 53);
/* oklch */ color: oklch(22.8% 0.092 322.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b6c',
    500: '#2f0735',
    950: '#000000',
  },
}
SCSS
$custom: #2f0735;
$custom-light: #6a4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0735",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 292.174,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2284,
    "c": 0.09151,
    "h": 322.1
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#2F0735
secondary
#2E7523
accent
#F3354D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0735

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

Preview Lab → · Contrast checker → · Palette generator →

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