#6131AD#6131AD

#6131AD is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.185 H 295.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6131AD
RGBrgb(97, 49, 173)
HSLhsl(263, 56%, 44%)
HSVhsv(263, 72%, 68%)
CMYKcmyk(43.9%, 71.7%, 0%, 32.2%)
CIE-LABlab(33.47, 48.10, -58.32)
CIE-LCHlch(33.47, 75.60, 309.51°)
OKLaboklab(44.78% 0.0801 -0.1669)
OKLCHoklch(44.78% 0.185 295.6)
XYZxyz(13.5689, 7.7548, 40.3090)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131AD #7DAD31
analogous
#313FAD #6131AD #9F31AD
triadic
#6131AD #AD6131 #31AD61
tetradic
#6131AD #AD313F #7DAD31 #31AD9F
square
#6131AD #AD313F #7DAD31 #31AD9F
split-complementary
#6131AD #AD9F31 #3FAD31
monochromatic
#2C164E #46237D #6131AD #7F4ECD #A27EDA

Accessibility & contrast

On white

8.23
#6131AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6131AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131AD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131AD#FFFFFF#000000##FFFFFF
##6131AD1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#4C506C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6131ad;
/* rgb */ color: rgb(97, 49, 173);
/* oklch */ color: oklch(44.8% 0.185 295.6);
Tailwind
colors: {
  custom: {
    50: '#956dc6',
    500: '#6131ad',
    950: '#000000',
  },
}
SCSS
$custom: #6131ad;
$custom-light: #956dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6131ad",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 263.226,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.1851,
    "h": 295.6
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#6131AD
secondary
#A6C377
accent
#DF49A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6131AD

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

Preview Lab → · Contrast checker → · Palette generator →

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