#6A49CA#6A49CA

#6A49CA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.190 H 289.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6A49CA
RGBrgb(106, 73, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 64%, 79%)
CMYKcmyk(47.5%, 63.9%, 0%, 20.8%)
CIE-LABlab(41.36, 45.02, -62.47)
CIE-LCHlch(41.36, 77.00, 305.77°)
OKLaboklab(51.38% 0.0644 -0.1788)
OKLCHoklch(51.38% 0.19 289.8)
XYZxyz(18.9840, 12.0928, 57.1995)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A49CA #A9CA49
analogous
#4969CA #6A49CA #AB49CA
triadic
#6A49CA #CA6A49 #49CA6A
tetradic
#6A49CA #CA4969 #A9CA49 #49CAAB
square
#6A49CA #CA4969 #A9CA49 #49CAAB
split-complementary
#6A49CA #CAAB49 #69CA49
monochromatic
#382276 #4E30A6 #6A49CA #9178D8 #B8A8E6

Accessibility & contrast

On white

6.14
#6A49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6A49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A49CA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A49CA#FFFFFF#000000##FFFFFF
##6A49CA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#4B6883
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a49ca;
/* rgb */ color: rgb(106, 73, 202);
/* oklch */ color: oklch(51.4% 0.190 289.8);
Tailwind
colors: {
  custom: {
    50: '#9c7ddb',
    500: '#6a49ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a49ca;
$custom-light: #9c7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a49ca",
  "rgb": {
    "r": 106,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 255.349,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.19007,
    "h": 289.8
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#6A49CA
secondary
#C5D39C
accent
#DE4AB8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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