#6A4BD5#6A4BD5

#6A4BD5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.5% C 0.201 H 287.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6A4BD5
RGBrgb(106, 75, 213)
HSLhsl(253, 62%, 56%)
HSVhsv(253, 65%, 84%)
CMYKcmyk(50.2%, 64.8%, 0%, 16.5%)
CIE-LABlab(42.61, 47.06, -66.78)
CIE-LCHlch(42.61, 81.70, 305.17°)
OKLaboklab(52.54% 0.0612 -0.1915)
OKLCHoklch(52.54% 0.201 287.7)
XYZxyz(20.4667, 12.8995, 64.3493)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BD5 #B6D54B
analogous
#4B71D5 #6A4BD5 #AF4BD5
triadic
#6A4BD5 #D56A4B #4BD56A
tetradic
#6A4BD5 #D54B71 #B6D54B #4BD5AF
square
#6A4BD5 #D54B71 #B6D54B #4BD5AF
split-complementary
#6A4BD5 #D5AF4B #71D54B
monochromatic
#361F86 #4B2BB8 #6A4BD5 #937DE1 #BCAEEC

Accessibility & contrast

On white

5.87
#6A4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6A4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BD5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BD5#FFFFFF#000000##FFFFFF
##6A4BD51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#436D89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a4bd5;
/* rgb */ color: rgb(106, 75, 213);
/* oklch */ color: oklch(52.5% 0.201 287.7);
Tailwind
colors: {
  custom: {
    50: '#9d7fe3',
    500: '#6a4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bd5;
$custom-light: #9d7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bd5",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 253.478,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.20105,
    "h": 287.7
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#6A4BD5
secondary
#CEDAA2
accent
#E543C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6A4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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