#6131AE#6131AE

#6131AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.186 H 295.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6131AE
RGBrgb(97, 49, 174)
HSLhsl(263, 56%, 44%)
HSVhsv(263, 72%, 68%)
CMYKcmyk(44.3%, 71.8%, 0%, 31.8%)
CIE-LABlab(33.55, 48.37, -58.78)
CIE-LCHlch(33.55, 76.12, 309.45°)
OKLaboklab(44.86% 0.0799 -0.1682)
OKLCHoklch(44.86% 0.186 295.4)
XYZxyz(13.6660, 7.7937, 40.8205)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131AE #7EAE31
analogous
#313FAE #6131AE #9F31AE
triadic
#6131AE #AE6131 #31AE61
tetradic
#6131AE #AE313F #7EAE31 #31AE9F
square
#6131AE #AE313F #7EAE31 #31AE9F
split-complementary
#6131AE #AE9F31 #3FAE31
monochromatic
#2C164E #46247E #6131AE #7F4FCD #A27FDB

Accessibility & contrast

On white

8.21
#6131AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6131AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131AE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131AE#FFFFFF#000000##FFFFFF
##6131AE1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#4C516C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6131ae;
/* rgb */ color: rgb(97, 49, 174);
/* oklch */ color: oklch(44.9% 0.186 295.4);
Tailwind
colors: {
  custom: {
    50: '#956dc7',
    500: '#6131ae',
    950: '#000000',
  },
}
SCSS
$custom: #6131ae;
$custom-light: #956dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6131ae",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 263.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.18624,
    "h": 295.4
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#6131AE
secondary
#A6C477
accent
#DF48A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6131AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6131AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva