#2F053B#2F053B

#2F053B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.101 H 317.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2F053B
RGBrgb(47, 5, 59)
HSLhsl(287, 84%, 13%)
HSVhsv(287, 92%, 23%)
CMYKcmyk(20.3%, 91.5%, 0%, 76.9%)
CIE-LABlab(9.23, 29.66, -24.24)
CIE-LCHlch(9.23, 38.30, 320.75°)
OKLaboklab(23.08% 0.074 -0.0683)
OKLCHoklch(23.08% 0.101 317.3)
XYZxyz(2.0159, 1.0287, 4.2292)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F053B #113B05
analogous
#14053B #2F053B #3B052C
triadic
#2F053B #3B2F05 #053B2F
tetradic
#2F053B #3B1405 #113B05 #052C3B
square
#2F053B #3B1405 #113B05 #052C3B
split-complementary
#2F053B #2C3B05 #053B14
monochromatic
#16021C #16021C #2F053B #5C0A73 #890FAC

Accessibility & contrast

On white

17.42
#2F053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F053B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F053B#FFFFFF#000000##FFFFFF
##2F053B1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#2E1120
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f053b;
/* rgb */ color: rgb(47, 5, 59);
/* oklch */ color: oklch(23.1% 0.101 317.3);
Tailwind
colors: {
  custom: {
    50: '#6a4b71',
    500: '#2f053b',
    950: '#000000',
  },
}
SCSS
$custom: #2f053b;
$custom-light: #6a4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f053b",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 286.667,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23082,
    "c": 0.10072,
    "h": 317.3
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#2F053B
secondary
#347C20
accent
#FB2D5B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F053B

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

Preview Lab → · Contrast checker → · Palette generator →

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