#6B48AE#6B48AE

#6B48AE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.156 H 296.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6B48AE
RGBrgb(107, 72, 174)
HSLhsl(261, 41%, 48%)
HSVhsv(261, 59%, 68%)
CMYKcmyk(38.5%, 58.6%, 0%, 31.8%)
CIE-LABlab(39.27, 37.96, -49.46)
CIE-LCHlch(39.27, 62.35, 307.50°)
OKLaboklab(49.25% 0.0685 -0.1405)
OKLCHoklch(49.25% 0.156 296)
XYZxyz(16.0188, 10.8162, 41.2800)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48AE #8BAE48
analogous
#4858AE #6B48AE #9E48AE
triadic
#6B48AE #AE6B48 #48AE6B
tetradic
#6B48AE #AE4858 #8BAE48 #48AE9E
square
#6B48AE #AE4858 #8BAE48 #48AE9E
split-complementary
#6B48AE #AE9E48 #58AE48
monochromatic
#362457 #503683 #6B48AE #8C70C4 #AF9BD6

Accessibility & contrast

On white

6.64
#6B48AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6B48AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48AE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48AE#FFFFFF#000000##FFFFFF
##6B48AE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#5B5E74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b48ae;
/* rgb */ color: rgb(107, 72, 174);
/* oklch */ color: oklch(49.2% 0.156 296.0);
Tailwind
colors: {
  custom: {
    50: '#9a7cc7',
    500: '#6b48ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b48ae;
$custom-light: #9a7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48ae",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 260.588,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.15632,
    "h": 296
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#6B48AE
secondary
#B1C290
accent
#D157A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6B48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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