#5F2269#5F2269

#5F2269 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.5% C 0.130 H 321.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#5F2269
RGBrgb(95, 34, 105)
HSLhsl(292, 51%, 27%)
HSVhsv(292, 68%, 41%)
CMYKcmyk(9.5%, 67.6%, 0%, 58.8%)
CIE-LABlab(25.56, 38.54, -28.90)
CIE-LCHlch(25.56, 48.18, 323.13°)
OKLaboklab(37.48% 0.1022 -0.0805)
OKLCHoklch(37.48% 0.13 321.8)
XYZxyz(7.8409, 4.5973, 13.8362)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2269 #2C6922
analogous
#3B2269 #5F2269 #692250
triadic
#5F2269 #695F22 #22695F
tetradic
#5F2269 #693B22 #2C6922 #225069
square
#5F2269 #693B22 #2C6922 #225069
split-complementary
#5F2269 #506922 #22693B
monochromatic
#150717 #35133B #5F2269 #893197 #B043C2

Accessibility & contrast

On white

10.94
#5F2269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5F2269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2269
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2269#FFFFFF#000000##FFFFFF
##5F22691.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10386B
Deuteranopia (green-blind)
#2A3F67
Tritanopia (blue-blind)
#602D42
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5f2269;
/* rgb */ color: rgb(95, 34, 105);
/* oklch */ color: oklch(37.5% 0.130 321.8);
Tailwind
colors: {
  custom: {
    50: '#8f6294',
    500: '#5f2269',
    950: '#000000',
  },
}
SCSS
$custom: #5f2269;
$custom-light: #8f6294;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2269",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 105
  },
  "hsl": {
    "h": 291.549,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.13014,
    "h": 321.8
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#5F2269
secondary
#569D4A
accent
#DB4D61
background
#F9F6F9
surface
#F1EBF1
border
#CBC6CB
text
#0D050D
muted
#7E7A7E

Preview Lab

Preview with #5F2269

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

Preview Lab → · Contrast checker → · Palette generator →

#5F2269 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva