#6A4BCB#6A4BCB

#6A4BCB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.189 H 289.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6A4BCB
RGBrgb(106, 75, 203)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 63%, 80%)
CMYKcmyk(47.8%, 63.1%, 0%, 20.4%)
CIE-LABlab(41.86, 44.18, -62.25)
CIE-LCHlch(41.86, 76.34, 305.36°)
OKLaboklab(51.76% 0.0622 -0.1782)
OKLCHoklch(51.76% 0.189 289.2)
XYZxyz(19.2363, 12.4073, 57.8696)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BCB #ACCB4B
analogous
#4B6CCB #6A4BCB #AA4BCB
triadic
#6A4BCB #CB6A4B #4BCB6A
tetradic
#6A4BCB #CB4B6C #ACCB4B #4BCBAA
square
#6A4BCB #CB4B6C #ACCB4B #4BCBAA
split-complementary
#6A4BCB #CBAA4B #6CCB4B
monochromatic
#382379 #4E31A8 #6A4BCB #917AD9 #B9AAE6

Accessibility & contrast

On white

6.03
#6A4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BCB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BCB#FFFFFF#000000##FFFFFF
##6A4BCB1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#4A6984
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a4bcb;
/* rgb */ color: rgb(106, 75, 203);
/* oklch */ color: oklch(51.8% 0.189 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fdc',
    500: '#6a4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bcb;
$custom-light: #9c7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bcb",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 254.531,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.18872,
    "h": 289.2
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#6A4BCB
secondary
#C7D49E
accent
#DF49BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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