#6A4BC9#6A4BC9

#6A4BC9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.186 H 289.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6A4BC9
RGBrgb(106, 75, 201)
HSLhsl(255, 54%, 54%)
HSVhsv(255, 63%, 79%)
CMYKcmyk(47.3%, 62.7%, 0%, 21.2%)
CIE-LABlab(41.71, 43.61, -61.33)
CIE-LCHlch(41.71, 75.26, 305.41°)
OKLaboklab(51.61% 0.0624 -0.1755)
OKLCHoklch(51.61% 0.186 289.6)
XYZxyz(18.9995, 12.3126, 56.6225)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BC9 #AAC94B
analogous
#4B6BC9 #6A4BC9 #A94BC9
triadic
#6A4BC9 #C96A4B #4BC96A
tetradic
#6A4BC9 #C94B6B #AAC94B #4BC9A9
square
#6A4BC9 #C94B6B #AAC94B #4BC9A9
split-complementary
#6A4BC9 #C9A94B #6BC94B
monochromatic
#382376 #4E32A5 #6A4BC9 #917AD7 #B8A9E5

Accessibility & contrast

On white

6.06
#6A4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6A4BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BC9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BC9#FFFFFF#000000##FFFFFF
##6A4BC91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#4B6983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4bc9;
/* rgb */ color: rgb(106, 75, 201);
/* oklch */ color: oklch(51.6% 0.186 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7fda',
    500: '#6a4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bc9;
$custom-light: #9c7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bc9",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 254.762,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.18623,
    "h": 289.6
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#6A4BC9
secondary
#C6D39D
accent
#DD4BB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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