#2F0734#2F0734

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

Color values

HEX#2F0734
RGBrgb(47, 7, 52)
HSLhsl(293, 76%, 12%)
HSVhsv(293, 87%, 20%)
CMYKcmyk(9.6%, 86.5%, 0%, 79.6%)
CIE-LABlab(9.03, 27.06, -19.48)
CIE-LCHlch(9.03, 33.34, 324.25°)
OKLaboklab(22.76% 0.0723 -0.0544)
OKLCHoklch(22.76% 0.09 323.1)
XYZxyz(1.8680, 1.0043, 3.3436)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0734 #0C3407
analogous
#190734 #2F0734 #340723
triadic
#2F0734 #342F07 #07342F
tetradic
#2F0734 #341907 #0C3407 #072334
square
#2F0734 #341907 #0C3407 #072334
split-complementary
#2F0734 #233407 #073419
monochromatic
#18041B #18041B #2F0734 #600E6A #9116A0

Accessibility & contrast

On white

17.49
#2F0734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0734
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0734#FFFFFF#000000##FFFFFF
##2F07341.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#300F1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0734;
/* rgb */ color: rgb(47, 7, 52);
/* oklch */ color: oklch(22.8% 0.090 323.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b6c',
    500: '#2f0734',
    950: '#000000',
  },
}
SCSS
$custom: #2f0734;
$custom-light: #6a4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0734",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 293.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22762,
    "c": 0.09049,
    "h": 323.1
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#2F0734
secondary
#2C7423
accent
#F3354A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0734

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

Preview Lab → · Contrast checker → · Palette generator →

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