#6A48CB#6A48CB

#6A48CB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.193 H 289.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6A48CB
RGBrgb(106, 72, 203)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(47.8%, 64.5%, 0%, 20.4%)
CIE-LABlab(41.23, 45.86, -63.27)
CIE-LCHlch(41.23, 78.14, 305.94°)
OKLaboklab(51.31% 0.0653 -0.1812)
OKLCHoklch(51.31% 0.193 289.8)
XYZxyz(19.0376, 12.0099, 57.8034)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48CB #A9CB48
analogous
#4868CB #6A48CB #AC48CB
triadic
#6A48CB #CB6A48 #48CB6A
tetradic
#6A48CB #CB4868 #A9CB48 #48CBAC
square
#6A48CB #CB4868 #A9CB48 #48CBAC
split-complementary
#6A48CB #CBAC48 #68CB48
monochromatic
#382277 #4E2FA6 #6A48CB #9178D9 #B8A7E6

Accessibility & contrast

On white

6.17
#6A48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48CB#FFFFFF#000000##FFFFFF
##6A48CB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#4A6883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a48cb;
/* rgb */ color: rgb(106, 72, 203);
/* oklch */ color: oklch(51.3% 0.193 289.8);
Tailwind
colors: {
  custom: {
    50: '#9c7ddc',
    500: '#6a48cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a48cb;
$custom-light: #9c7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48cb",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 255.573,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.19258,
    "h": 289.8
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#6A48CB
secondary
#C5D39B
accent
#DF49B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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