#2F053C#2F053C

#2F053C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.2% C 0.102 H 316.5°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2F053C
RGBrgb(47, 5, 60)
HSLhsl(286, 85%, 13%)
HSVhsv(286, 92%, 24%)
CMYKcmyk(21.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(9.31, 29.89, -24.82)
CIE-LCHlch(9.31, 38.85, 320.30°)
OKLaboklab(23.17% 0.0738 -0.07)
OKLCHoklch(23.17% 0.102 316.5)
XYZxyz(2.0420, 1.0392, 4.3671)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F053C #123C05
analogous
#13053C #2F053C #3C052D
triadic
#2F053C #3C2F05 #053C2F
tetradic
#2F053C #3C1305 #123C05 #052D3C
square
#2F053C #3C1305 #123C05 #052D3C
split-complementary
#2F053C #2D3C05 #053C13
monochromatic
#16021C #16021C #2F053C #5B0A74 #880EAD

Accessibility & contrast

On white

17.39
#2F053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F053C
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F053C#FFFFFF#000000##FFFFFF
##2F053C1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#051B3B
Tritanopia (blue-blind)
#2E1221
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f053c;
/* rgb */ color: rgb(47, 5, 60);
/* oklch */ color: oklch(23.2% 0.102 316.5);
Tailwind
colors: {
  custom: {
    50: '#6a4b72',
    500: '#2f053c',
    950: '#000000',
  },
}
SCSS
$custom: #2f053c;
$custom-light: #6a4b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f053c",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 285.818,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23169,
    "c": 0.10173,
    "h": 316.5
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#2F053C
secondary
#367D20
accent
#FB2D5E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F053C

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

Preview Lab → · Contrast checker → · Palette generator →

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