#613271#613271

#613271 is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.5% C 0.113 H 316.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#613271
RGBrgb(97, 50, 113)
HSLhsl(285, 39%, 32%)
HSVhsv(285, 56%, 44%)
CMYKcmyk(14.2%, 55.8%, 0%, 55.7%)
CIE-LABlab(29.45, 32.41, -27.84)
CIE-LCHlch(29.45, 42.73, 319.34°)
OKLaboklab(40.54% 0.0828 -0.0775)
OKLCHoklch(40.54% 0.113 316.9)
XYZxyz(9.0506, 6.0152, 16.3039)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#613271 #427132
analogous
#423271 #613271 #713262
triadic
#613271 #716132 #327161
tetradic
#613271 #714232 #427132 #326271
square
#613271 #714232 #427132 #326271
split-complementary
#613271 #627132 #327142
monochromatic
#180C1C #3D1F47 #613271 #85459B #A463BA

Accessibility & contrast

On white

9.53
#613271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#613271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #613271
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##613271#FFFFFF#000000##FFFFFF
##6132711.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#33476F
Tritanopia (blue-blind)
#603C4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #613271;
/* rgb */ color: rgb(97, 50, 113);
/* oklch */ color: oklch(40.5% 0.113 316.9);
Tailwind
colors: {
  custom: {
    50: '#906c9a',
    500: '#613271',
    950: '#000000',
  },
}
SCSS
$custom: #613271;
$custom-light: #906c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#613271",
  "rgb": {
    "r": 97,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 284.762,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.1134,
    "h": 316.9
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#613271
secondary
#6EA25D
accent
#CF5977
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D070E
muted
#7D7A7E

Preview Lab

Preview with #613271

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

Preview Lab → · Contrast checker → · Palette generator →

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