#6A48CA#6A48CA

#6A48CA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.191 H 290.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6A48CA
RGBrgb(106, 72, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 64%, 79%)
CMYKcmyk(47.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.16, 45.57, -62.81)
CIE-LCHlch(41.16, 77.60, 305.96°)
OKLaboklab(51.23% 0.0654 -0.1798)
OKLCHoklch(51.23% 0.191 290)
XYZxyz(18.9189, 11.9624, 57.1778)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48CA #A8CA48
analogous
#4867CA #6A48CA #AB48CA
triadic
#6A48CA #CA6A48 #48CA6A
tetradic
#6A48CA #CA4867 #A8CA48 #48CAAB
square
#6A48CA #CA4867 #A8CA48 #48CAAB
split-complementary
#6A48CA #CAAB48 #67CA48
monochromatic
#382276 #4E30A5 #6A48CA #9177D8 #B7A7E5

Accessibility & contrast

On white

6.19
#6A48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6A48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48CA#FFFFFF#000000##FFFFFF
##6A48CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#4B6782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a48ca;
/* rgb */ color: rgb(106, 72, 202);
/* oklch */ color: oklch(51.2% 0.191 290.0);
Tailwind
colors: {
  custom: {
    50: '#9c7ddb',
    500: '#6a48ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a48ca;
$custom-light: #9c7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48ca",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 255.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.19135,
    "h": 290
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#6A48CA
secondary
#C4D39B
accent
#DE49B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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