#6A4BC2#6A4BC2

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

Color values

HEX#6A4BC2
RGBrgb(106, 75, 194)
HSLhsl(256, 49%, 53%)
HSVhsv(256, 61%, 76%)
CMYKcmyk(45.4%, 61.3%, 0%, 23.9%)
CIE-LABlab(41.20, 41.61, -58.09)
CIE-LCHlch(41.20, 71.45, 305.61°)
OKLaboklab(51.08% 0.0629 -0.1659)
OKLCHoklch(51.08% 0.177 290.7)
XYZxyz(18.1948, 11.9907, 52.3842)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BC2 #A3C24B
analogous
#4B67C2 #6A4BC2 #A54BC2
triadic
#6A4BC2 #C26A4B #4BC26A
tetradic
#6A4BC2 #C24B67 #A3C24B #4BC2A5
square
#6A4BC2 #C24B67 #A3C24B #4BC2A5
split-complementary
#6A4BC2 #C2A54B #67C24B
monochromatic
#38256D #4F359B #6A4BC2 #9079D1 #B6A6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A4BC2#FFFFFF#000000##FFFFFF
##6A4BC21.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)
#0063C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#4F667F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a4bc2;
/* rgb */ color: rgb(106, 75, 194);
/* oklch */ color: oklch(51.1% 0.177 290.7);
Tailwind
colors: {
  custom: {
    50: '#9b7fd5',
    500: '#6a4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bc2;
$custom-light: #9b7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bc2",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 255.63,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.17746,
    "h": 290.7
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#6A4BC2
secondary
#C1CE9B
accent
#D94FB5
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6A4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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