#6131AA#6131AA

#6131AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.182 H 296.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6131AA
RGBrgb(97, 49, 170)
HSLhsl(264, 55%, 43%)
HSVhsv(264, 71%, 67%)
CMYKcmyk(42.9%, 71.2%, 0%, 33.3%)
CIE-LABlab(33.22, 47.30, -56.92)
CIE-LCHlch(33.22, 74.01, 309.73°)
OKLaboklab(44.53% 0.0807 -0.1628)
OKLCHoklch(44.53% 0.182 296.4)
XYZxyz(13.2819, 7.6400, 38.7973)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131AA #7AAA31
analogous
#313DAA #6131AA #9D31AA
triadic
#6131AA #AA6131 #31AA61
tetradic
#6131AA #AA313D #7AAA31 #31AA9D
square
#6131AA #AA313D #7AAA31 #31AA9D
split-complementary
#6131AA #AA9D31 #3DAA31
monochromatic
#2B164B #46237A #6131AA #7F4DCC #A17CD9

Accessibility & contrast

On white

8.31
#6131AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6131AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6131AA#FFFFFF#000000##FFFFFF
##6131AA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#4E4F6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6131aa;
/* rgb */ color: rgb(97, 49, 170);
/* oklch */ color: oklch(44.5% 0.182 296.4);
Tailwind
colors: {
  custom: {
    50: '#946dc4',
    500: '#6131aa',
    950: '#000000',
  },
}
SCSS
$custom: #6131aa;
$custom-light: #946dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6131aa",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 263.802,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.18167,
    "h": 296.4
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#6131AA
secondary
#A3C275
accent
#DF49A3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6131AA

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

Preview Lab → · Contrast checker → · Palette generator →

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