#6A4BD2#6A4BD2

#6A4BD2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.197 H 288.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6A4BD2
RGBrgb(106, 75, 210)
HSLhsl(254, 60%, 56%)
HSVhsv(254, 64%, 82%)
CMYKcmyk(49.5%, 64.3%, 0%, 17.6%)
CIE-LABlab(42.38, 46.19, -65.43)
CIE-LCHlch(42.38, 80.10, 305.22°)
OKLaboklab(52.31% 0.0615 -0.1875)
OKLCHoklch(52.31% 0.197 288.2)
XYZxyz(20.0894, 12.7486, 62.3625)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BD2 #B3D24B
analogous
#4B6FD2 #6A4BD2 #AD4BD2
triadic
#6A4BD2 #D26A4B #4BD26A
tetradic
#6A4BD2 #D24B6F #B3D24B #4BD2AD
square
#6A4BD2 #D24B6F #B3D24B #4BD2AD
split-complementary
#6A4BD2 #D2AD4B #6FD24B
monochromatic
#372182 #4C2DB3 #6A4BD2 #937CDE #BBADEA

Accessibility & contrast

On white

5.92
#6A4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6A4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BD2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BD2#FFFFFF#000000##FFFFFF
##6A4BD21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#456C88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a4bd2;
/* rgb */ color: rgb(106, 75, 210);
/* oklch */ color: oklch(52.3% 0.197 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d7fe1',
    500: '#6a4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bd2;
$custom-light: #9d7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bd2",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 253.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.19738,
    "h": 288.2
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#6A4BD2
secondary
#CCD8A0
accent
#E345BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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