#6A56BB#6A56BB

#6A56BB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.4% C 0.153 H 289.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6A56BB
RGBrgb(106, 86, 187)
HSLhsl(252, 43%, 54%)
HSVhsv(252, 54%, 73%)
CMYKcmyk(43.3%, 54%, 0%, 26.7%)
CIE-LABlab(43.22, 33.13, -50.75)
CIE-LCHlch(43.22, 60.61, 303.13°)
OKLaboklab(52.41% 0.0501 -0.1443)
OKLCHoklch(52.41% 0.153 289.1)
XYZxyz(18.2388, 13.3070, 48.6116)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56BB #A7BB56
analogous
#5674BB #6A56BB #9C56BB
triadic
#6A56BB #BB6A56 #56BB6A
tetradic
#6A56BB #BB5674 #A7BB56 #56BB9C
square
#6A56BB #BB5674 #A7BB56 #56BB9C
split-complementary
#6A56BB #BB9C56 #74BB56
monochromatic
#382B6B #4F3D97 #6A56BB #9082CD #B7ADDE

Accessibility & contrast

On white

5.74
#6A56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6A56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56BB#FFFFFF#000000##FFFFFF
##6A56BB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#526C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a56bb;
/* rgb */ color: rgb(106, 86, 187);
/* oklch */ color: oklch(52.4% 0.153 289.1);
Tailwind
colors: {
  custom: {
    50: '#9986d0',
    500: '#6a56bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a56bb;
$custom-light: #9986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56bb",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 251.881,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.15279,
    "h": 289.1
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#6A56BB
secondary
#C3CCA1
accent
#D255BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A56BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6A56BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva