#2F073D#2F073D

#2F073D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.100 H 315.4°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#2F073D
RGBrgb(47, 7, 61)
HSLhsl(284, 79%, 13%)
HSVhsv(284, 89%, 24%)
CMYKcmyk(23%, 88.5%, 0%, 76.1%)
CIE-LABlab(9.75, 29.11, -24.84)
CIE-LCHlch(9.75, 38.27, 319.54°)
OKLaboklab(23.5% 0.0711 -0.0701)
OKLCHoklch(23.5% 0.1 315.4)
XYZxyz(2.0904, 1.0933, 4.5149)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F073D #153D07
analogous
#14073D #2F073D #3D0730
triadic
#2F073D #3D2F07 #073D2F
tetradic
#2F073D #3D1407 #153D07 #07303D
square
#2F073D #3D1407 #153D07 #07303D
split-complementary
#2F073D #303D07 #073D14
monochromatic
#15031B #15031B #2F073D #590D74 #8414AB

Accessibility & contrast

On white

17.23
#2F073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F073D
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F073D#FFFFFF#000000##FFFFFF
##2F073D1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#2E1322
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f073d;
/* rgb */ color: rgb(47, 7, 61);
/* oklch */ color: oklch(23.5% 0.100 315.4);
Tailwind
colors: {
  custom: {
    50: '#6a4c73',
    500: '#2f073d',
    950: '#000000',
  },
}
SCSS
$custom: #2f073d;
$custom-light: #6a4c73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f073d",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 284.444,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23499,
    "c": 0.09981,
    "h": 315.4
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2F073D
secondary
#3B7C23
accent
#F63265
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F073D

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

Preview Lab → · Contrast checker → · Palette generator →

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