#6531CA#6531CA

#6531CA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.218 H 291.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6531CA
RGBrgb(101, 49, 202)
HSLhsl(260, 61%, 49%)
HSVhsv(260, 76%, 79%)
CMYKcmyk(50%, 75.7%, 0%, 20.8%)
CIE-LABlab(36.42, 56.45, -70.57)
CIE-LCHlch(36.42, 90.37, 308.66°)
OKLaboklab(47.73% 0.0791 -0.2027)
OKLCHoklch(47.73% 0.218 291.3)
XYZxyz(17.1228, 9.2269, 56.7444)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531CA #96CA31
analogous
#314ACA #6531CA #B231CA
triadic
#6531CA #CA6531 #31CA65
tetradic
#6531CA #CA314A #96CA31 #31CAB2
square
#6531CA #CA314A #96CA31 #31CAB2
split-complementary
#6531CA #CAB231 #4ACA31
monochromatic
#341967 #4C2599 #6531CA #8960D8 #AD91E4

Accessibility & contrast

On white

7.38
#6531CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6531CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531CA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531CA#FFFFFF#000000##FFFFFF
##6531CA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#435B7C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6531ca;
/* rgb */ color: rgb(101, 49, 202);
/* oklch */ color: oklch(47.7% 0.218 291.3);
Tailwind
colors: {
  custom: {
    50: '#9b6fdb',
    500: '#6531ca',
    950: '#000000',
  },
}
SCSS
$custom: #6531ca;
$custom-light: #9b6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6531ca",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 260.392,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.21758,
    "h": 291.3
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#6531CA
secondary
#B7CF88
accent
#E444AE
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6531CA

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

Preview Lab → · Contrast checker → · Palette generator →

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