#6648AC#6648AC

#6648AC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.153 H 293.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6648AC
RGBrgb(102, 72, 172)
HSLhsl(258, 41%, 48%)
HSVhsv(258, 58%, 67%)
CMYKcmyk(40.7%, 58.1%, 0%, 32.5%)
CIE-LABlab(38.62, 36.23, -49.35)
CIE-LCHlch(38.62, 61.22, 306.28°)
OKLaboklab(48.61% 0.0617 -0.1404)
OKLCHoklch(48.61% 0.153 293.7)
XYZxyz(15.2413, 10.4377, 40.2334)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648AC #8EAC48
analogous
#485CAC #6648AC #9848AC
triadic
#6648AC #AC6648 #48AC66
tetradic
#6648AC #AC485C #8EAC48 #48AC98
square
#6648AC #AC485C #8EAC48 #48AC98
split-complementary
#6648AC #AC9848 #5CAC48
monochromatic
#332456 #4C3681 #6648AC #886FC3 #AB9AD5

Accessibility & contrast

On white

6.80
#6648AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6648AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648AC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648AC#FFFFFF#000000##FFFFFF
##6648AC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAF
Deuteranopia (green-blind)
#1A59AA
Tritanopia (blue-blind)
#545E73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6648ac;
/* rgb */ color: rgb(102, 72, 172);
/* oklch */ color: oklch(48.6% 0.153 293.7);
Tailwind
colors: {
  custom: {
    50: '#967cc5',
    500: '#6648ac',
    950: '#000000',
  },
}
SCSS
$custom: #6648ac;
$custom-light: #967cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6648ac",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 258,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.15335,
    "h": 293.7
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#6648AC
secondary
#B2C18F
accent
#D157AC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6648AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6648AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva