#2F073F#2F073F

#2F073F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.102 H 313.9°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2F073F
RGBrgb(47, 7, 63)
HSLhsl(283, 80%, 14%)
HSVhsv(283, 89%, 25%)
CMYKcmyk(25.4%, 88.9%, 0%, 75.3%)
CIE-LABlab(9.92, 29.59, -25.99)
CIE-LCHlch(9.92, 39.39, 318.71°)
OKLaboklab(23.67% 0.0706 -0.0735)
OKLCHoklch(23.67% 0.102 313.9)
XYZxyz(2.1453, 1.1152, 4.8039)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F073F #173F07
analogous
#13073F #2F073F #3F0733
triadic
#2F073F #3F2F07 #073F2F
tetradic
#2F073F #3F1307 #173F07 #07333F
square
#2F073F #3F1307 #173F07 #07333F
split-complementary
#2F073F #333F07 #073F13
monochromatic
#15031C #15031C #2F073F #580D76 #8113AD

Accessibility & contrast

On white

17.17
#2F073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F073F
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F073F#FFFFFF#000000##FFFFFF
##2F073F1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#2D1423
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f073f;
/* rgb */ color: rgb(47, 7, 63);
/* oklch */ color: oklch(23.7% 0.102 313.9);
Tailwind
colors: {
  custom: {
    50: '#6a4c74',
    500: '#2f073f',
    950: '#000000',
  },
}
SCSS
$custom: #2f073f;
$custom-light: #6a4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f073f",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 282.857,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23674,
    "c": 0.10191,
    "h": 313.9
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#2F073F
secondary
#3D7E24
accent
#F6316A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F073F

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

Preview Lab → · Contrast checker → · Palette generator →

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