#6A4CBF#6A4CBF

#6A4CBF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.172 H 291.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6A4CBF
RGBrgb(106, 76, 191)
HSLhsl(256, 47%, 52%)
HSVhsv(256, 60%, 75%)
CMYKcmyk(44.5%, 60.2%, 0%, 25.1%)
CIE-LABlab(41.21, 40.18, -56.33)
CIE-LCHlch(41.21, 69.19, 305.50°)
OKLaboklab(51.01% 0.0619 -0.1608)
OKLCHoklch(51.01% 0.172 291.1)
XYZxyz(17.9297, 11.9940, 50.6505)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CBF #A1BF4C
analogous
#4C68BF #6A4CBF #A34CBF
triadic
#6A4CBF #BF6A4C #4CBF6A
tetradic
#6A4CBF #BF4C68 #A1BF4C #4CBFA3
square
#6A4CBF #BF4C68 #A1BF4C #4CBFA3
split-complementary
#6A4CBF #BFA34C #68BF4C
monochromatic
#38266B #503698 #6A4CBF #9079CF #B5A6DF

Accessibility & contrast

On white

6.18
#6A4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CBF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CBF#FFFFFF#000000##FFFFFF
##6A4CBF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#51667E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a4cbf;
/* rgb */ color: rgb(106, 76, 191);
/* oklch */ color: oklch(51.0% 0.172 291.1);
Tailwind
colors: {
  custom: {
    50: '#9b7fd3',
    500: '#6a4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cbf;
$custom-light: #9b7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cbf",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 255.652,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.17228,
    "h": 291.1
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#6A4CBF
secondary
#BFCC9A
accent
#D751B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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