#2F0934#2F0934

#2F0934 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.087 H 322.8°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2F0934
RGBrgb(47, 9, 52)
HSLhsl(293, 70%, 12%)
HSVhsv(293, 83%, 20%)
CMYKcmyk(9.6%, 82.7%, 0%, 79.6%)
CIE-LABlab(9.38, 26.04, -18.91)
CIE-LCHlch(9.38, 32.18, 324.01°)
OKLaboklab(23.02% 0.0696 -0.0527)
OKLCHoklch(23.02% 0.087 322.8)
XYZxyz(1.8897, 1.0478, 3.3508)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0934 #0E3409
analogous
#1A0934 #2F0934 #340924
triadic
#2F0934 #342F09 #09342F
tetradic
#2F0934 #341A09 #0E3409 #092434
square
#2F0934 #341A09 #0E3409 #092434
split-complementary
#2F0934 #243409 #09341A
monochromatic
#18051A #18051A #2F0934 #5E1268 #8D1B9C

Accessibility & contrast

On white

17.36
#2F0934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0934
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0934#FFFFFF#000000##FFFFFF
##2F09341.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0934;
/* rgb */ color: rgb(47, 9, 52);
/* oklch */ color: oklch(23.0% 0.087 322.8);
Tailwind
colors: {
  custom: {
    50: '#694c6b',
    500: '#2f0934',
    950: '#000000',
  },
}
SCSS
$custom: #2f0934;
$custom-light: #694c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0934",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 293.023,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23016,
    "c": 0.08731,
    "h": 322.8
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#2F0934
secondary
#2F7227
accent
#ED3B4F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0934

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

Preview Lab → · Contrast checker → · Palette generator →

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