#61217F#61217F

#61217F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.155 H 312.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#61217F
RGBrgb(97, 33, 127)
HSLhsl(281, 59%, 31%)
HSVhsv(281, 74%, 50%)
CMYKcmyk(23.6%, 74%, 0%, 50.2%)
CIE-LABlab(27.19, 44.27, -40.31)
CIE-LCHlch(27.19, 59.87, 317.68°)
OKLaboklab(39.19% 0.1047 -0.1139)
OKLCHoklch(39.19% 0.155 312.6)
XYZxyz(9.3037, 5.1617, 20.5808)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61217F #3F7F21
analogous
#32217F #61217F #7F216E
triadic
#61217F #7F6121 #217F61
tetradic
#61217F #7F3221 #3F7F21 #216E7F
square
#61217F #7F3221 #3F7F21 #216E7F
split-complementary
#61217F #6E7F21 #217F32
monochromatic
#17081E #3C144E #61217F #862EB0 #A54AD0

Accessibility & contrast

On white

10.33
#61217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#61217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61217F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61217F#FFFFFF#000000##FFFFFF
##61217F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#17427D
Tritanopia (blue-blind)
#5E354E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #61217f;
/* rgb */ color: rgb(97, 33, 127);
/* oklch */ color: oklch(39.2% 0.155 312.6);
Tailwind
colors: {
  custom: {
    50: '#9163a5',
    500: '#61217f',
    950: '#000000',
  },
}
SCSS
$custom: #61217f;
$custom-light: #9163a5;
$custom-dark: #000000;
JSON
{
  "hex": "#61217f",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 280.851,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39193,
    "c": 0.1547,
    "h": 312.6
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#61217F
secondary
#6BB24A
accent
#E24678
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #61217F

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

Preview Lab → · Contrast checker → · Palette generator →

#61217F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva