#2F053F#2F053F

#2F053F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.105 H 314.2°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2F053F
RGBrgb(47, 5, 63)
HSLhsl(283, 85%, 13%)
HSVhsv(283, 92%, 25%)
CMYKcmyk(25.4%, 92.1%, 0%, 75.3%)
CIE-LABlab(9.58, 30.59, -26.54)
CIE-LCHlch(9.58, 40.49, 319.05°)
OKLaboklab(23.44% 0.0731 -0.0751)
OKLCHoklch(23.44% 0.105 314.2)
XYZxyz(2.1236, 1.0718, 4.7967)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F053F #153F05
analogous
#12053F #2F053F #3F0532
triadic
#2F053F #3F2F05 #053F2F
tetradic
#2F053F #3F1205 #153F05 #05323F
square
#2F053F #3F1205 #153F05 #05323F
split-complementary
#2F053F #323F05 #053F12
monochromatic
#15021C #15021C #2F053F #590978 #840EB0

Accessibility & contrast

On white

17.29
#2F053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F053F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F053F#FFFFFF#000000##FFFFFF
##2F053F1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#011C3E
Tritanopia (blue-blind)
#2D1322
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f053f;
/* rgb */ color: rgb(47, 5, 63);
/* oklch */ color: oklch(23.4% 0.105 314.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b74',
    500: '#2f053f',
    950: '#000000',
  },
}
SCSS
$custom: #2f053f;
$custom-light: #6a4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f053f",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 283.448,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23435,
    "c": 0.10476,
    "h": 314.2
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#2F053F
secondary
#3B8020
accent
#FC2C65
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F053F

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

Preview Lab → · Contrast checker → · Palette generator →

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