#613171#613171

#613171 is a dark, moderate purple. Relative luminance 0.059; OKLCH L 40.4% C 0.115 H 317.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#613171
RGBrgb(97, 49, 113)
HSLhsl(285, 40%, 32%)
HSVhsv(285, 57%, 44%)
CMYKcmyk(14.2%, 56.6%, 0%, 55.7%)
CIE-LABlab(29.24, 32.98, -28.18)
CIE-LCHlch(29.24, 43.38, 319.49°)
OKLaboklab(40.38% 0.0843 -0.0785)
OKLCHoklch(40.38% 0.115 317)
XYZxyz(9.0083, 5.9306, 16.2898)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#613171 #417131
analogous
#413171 #613171 #713161
triadic
#613171 #716131 #317161
tetradic
#613171 #714131 #417131 #316171
square
#613171 #714131 #417131 #316171
split-complementary
#613171 #617131 #317141
monochromatic
#180C1C #3C1E46 #613171 #86449C #A462BB

Accessibility & contrast

On white

9.61
#613171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#613171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #613171
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##613171#FFFFFF#000000##FFFFFF
##6131711.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#33466F
Tritanopia (blue-blind)
#603B4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #613171;
/* rgb */ color: rgb(97, 49, 113);
/* oklch */ color: oklch(40.4% 0.115 317.0);
Tailwind
colors: {
  custom: {
    50: '#906b9a',
    500: '#613171',
    950: '#000000',
  },
}
SCSS
$custom: #613171;
$custom-light: #906b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#613171",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 285,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.11516,
    "h": 317
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#613171
secondary
#6DA25C
accent
#CF5876
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #613171

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

Preview Lab → · Contrast checker → · Palette generator →

#613171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva