#6A48CC#6A48CC

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

Color values

HEX#6A48CC
RGBrgb(106, 72, 204)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48%, 64.7%, 0%, 20%)
CIE-LABlab(41.31, 46.14, -63.72)
CIE-LCHlch(41.31, 78.67, 305.91°)
OKLaboklab(51.39% 0.0652 -0.1825)
OKLCHoklch(51.39% 0.194 289.7)
XYZxyz(19.1572, 12.0578, 58.4330)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48CC #AACC48
analogous
#4868CC #6A48CC #AC48CC
triadic
#6A48CC #CC6A48 #48CC6A
tetradic
#6A48CC #CC4868 #AACC48 #48CCAC
square
#6A48CC #CC4868 #AACC48 #48CCAC
split-complementary
#6A48CC #CCAC48 #68CC48
monochromatic
#382178 #4E2FA8 #6A48CC #9178D9 #B8A8E7

Accessibility & contrast

On white

6.16
#6A48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6A48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48CC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48CC#FFFFFF#000000##FFFFFF
##6A48CC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#4A6884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a48cc;
/* rgb */ color: rgb(106, 72, 204);
/* oklch */ color: oklch(51.4% 0.194 289.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ddc',
    500: '#6a48cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a48cc;
$custom-light: #9c7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48cc",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 255.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.19379,
    "h": 289.7
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#6A48CC
secondary
#C6D49C
accent
#E048B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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