#6A4DC9#6A4DC9

#6A4DC9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.184 H 289.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6A4DC9
RGBrgb(106, 77, 201)
HSLhsl(254, 53%, 55%)
HSVhsv(254, 62%, 79%)
CMYKcmyk(47.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(42.14, 42.47, -60.64)
CIE-LCHlch(42.14, 74.03, 305.01°)
OKLaboklab(51.92% 0.0603 -0.1734)
OKLCHoklch(51.92% 0.184 289.2)
XYZxyz(19.1373, 12.5882, 56.6684)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DC9 #ACC94D
analogous
#4D6EC9 #6A4DC9 #A84DC9
triadic
#6A4DC9 #C96A4D #4DC96A
tetradic
#6A4DC9 #C94D6E #ACC94D #4DC9A8
square
#6A4DC9 #C94D6E #ACC94D #4DC9A8
split-complementary
#6A4DC9 #C9A84D #6EC94D
monochromatic
#382477 #4E32A6 #6A4DC9 #917CD7 #B9ABE5

Accessibility & contrast

On white

5.97
#6A4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6A4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DC9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DC9#FFFFFF#000000##FFFFFF
##6A4DC91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#4B6A84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a4dc9;
/* rgb */ color: rgb(106, 77, 201);
/* oklch */ color: oklch(51.9% 0.184 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c80da',
    500: '#6a4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4dc9;
$custom-light: #9c80da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4dc9",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 254.032,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.18361,
    "h": 289.2
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#6A4DC9
secondary
#C7D39F
accent
#DD4BBB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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