#2F0935#2F0935

#2F0935 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.088 H 321.9°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2F0935
RGBrgb(47, 9, 53)
HSLhsl(292, 71%, 12%)
HSVhsv(292, 83%, 21%)
CMYKcmyk(11.3%, 83%, 0%, 79.2%)
CIE-LABlab(9.46, 26.27, -19.52)
CIE-LCHlch(9.46, 32.73, 323.38°)
OKLaboklab(23.09% 0.0695 -0.0545)
OKLCHoklch(23.09% 0.088 321.9)
XYZxyz(1.9125, 1.0569, 3.4707)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0935 #0F3509
analogous
#190935 #2F0935 #350925
triadic
#2F0935 #352F09 #09352F
tetradic
#2F0935 #351909 #0F3509 #092535
square
#2F0935 #351909 #0F3509 #092535
split-complementary
#2F0935 #253509 #093519
monochromatic
#17041A #17041A #2F0935 #5D1269 #8C1B9E

Accessibility & contrast

On white

17.34
#2F0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0935
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0935#FFFFFF#000000##FFFFFF
##2F09351.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#30111E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0935;
/* rgb */ color: rgb(47, 9, 53);
/* oklch */ color: oklch(23.1% 0.088 321.9);
Tailwind
colors: {
  custom: {
    50: '#694c6c',
    500: '#2f0935',
    950: '#000000',
  },
}
SCSS
$custom: #2f0935;
$custom-light: #694c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0935",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 291.818,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23092,
    "c": 0.08836,
    "h": 321.9
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#2F0935
secondary
#317327
accent
#EE3A53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0935

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

Preview Lab → · Contrast checker → · Palette generator →

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