#6531B4#6531B4

#6531B4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.193 H 295.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6531B4
RGBrgb(101, 49, 180)
HSLhsl(264, 57%, 45%)
HSVhsv(264, 73%, 71%)
CMYKcmyk(43.9%, 72.8%, 0%, 29.4%)
CIE-LABlab(34.52, 50.66, -60.76)
CIE-LCHlch(34.52, 79.11, 309.82°)
OKLaboklab(45.81% 0.0845 -0.1739)
OKLCHoklch(45.81% 0.193 295.9)
XYZxyz(14.7012, 8.2583, 43.9906)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531B4 #80B431
analogous
#313EB4 #6531B4 #A731B4
triadic
#6531B4 #B46531 #31B465
tetradic
#6531B4 #B4313E #80B431 #31B4A7
square
#6531B4 #B4313E #80B431 #31B4A7
split-complementary
#6531B4 #B4A731 #3EB431
monochromatic
#2F1754 #4A2484 #6531B4 #8452D0 #A682DD

Accessibility & contrast

On white

7.92
#6531B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6531B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531B4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531B4#FFFFFF#000000##FFFFFF
##6531B41.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#505370
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6531b4;
/* rgb */ color: rgb(101, 49, 180);
/* oklch */ color: oklch(45.8% 0.193 295.9);
Tailwind
colors: {
  custom: {
    50: '#986ecb',
    500: '#6531b4',
    950: '#000000',
  },
}
SCSS
$custom: #6531b4;
$custom-light: #986ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6531b4",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 263.817,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45807,
    "c": 0.19333,
    "h": 295.9
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#6531B4
secondary
#A8C67B
accent
#E047A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6531B4

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

Preview Lab → · Contrast checker → · Palette generator →

#6531B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva