#2F0743#2F0743

#2F0743 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.106 H 311.0°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#2F0743
RGBrgb(47, 7, 67)
HSLhsl(280, 81%, 15%)
HSVhsv(280, 90%, 26%)
CMYKcmyk(29.9%, 89.6%, 0%, 73.7%)
CIE-LABlab(10.27, 30.57, -28.25)
CIE-LCHlch(10.27, 41.62, 317.26°)
OKLaboklab(24.03% 0.0696 -0.0801)
OKLCHoklch(24.03% 0.106 311)
XYZxyz(2.2612, 1.1616, 5.4142)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0743 #1B4307
analogous
#110743 #2F0743 #430739
triadic
#2F0743 #432F07 #07432F
tetradic
#2F0743 #431107 #1B4307 #073943
square
#2F0743 #431107 #1B4307 #073943
split-complementary
#2F0743 #394307 #074311
monochromatic
#13031C #13031C #2F0743 #560D7A #7D13B2

Accessibility & contrast

On white

17.04
#2F0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0743 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0743
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0743#FFFFFF#000000##FFFFFF
##2F07431.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#2C1625
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0743;
/* rgb */ color: rgb(47, 7, 67);
/* oklch */ color: oklch(24.0% 0.106 311.0);
Tailwind
colors: {
  custom: {
    50: '#6b4c78',
    500: '#2f0743',
    950: '#000000',
  },
}
SCSS
$custom: #2f0743;
$custom-light: #6b4c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0743",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 280,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24033,
    "c": 0.10615,
    "h": 311
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#2F0743
secondary
#438224
accent
#F73073
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2F0743

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

Preview Lab → · Contrast checker → · Palette generator →

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