#6A48BB#6A48BB

#6A48BB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.173 H 292.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6A48BB
RGBrgb(106, 72, 187)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 61%, 73%)
CMYKcmyk(43.3%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.06, 41.34, -55.85)
CIE-LCHlch(40.06, 69.49, 306.51°)
OKLaboklab(50.09% 0.0666 -0.1594)
OKLCHoklch(50.09% 0.173 292.7)
XYZxyz(17.2284, 11.2863, 48.2748)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48BB #99BB48
analogous
#485FBB #6A48BB #A348BB
triadic
#6A48BB #BB6A48 #48BB6A
tetradic
#6A48BB #BB485F #99BB48 #48BBA3
square
#6A48BB #BB485F #99BB48 #48BBA3
split-complementary
#6A48BB #BBA348 #5FBB48
monochromatic
#382564 #503690 #6A48BB #8E75CC #B3A1DC

Accessibility & contrast

On white

6.45
#6A48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6A48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48BB#FFFFFF#000000##FFFFFF
##6A48BB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#53627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a48bb;
/* rgb */ color: rgb(106, 72, 187);
/* oklch */ color: oklch(50.1% 0.173 292.7);
Tailwind
colors: {
  custom: {
    50: '#9a7cd0',
    500: '#6a48bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a48bb;
$custom-light: #9a7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48bb",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 257.739,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.17273,
    "h": 292.7
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#6A48BB
secondary
#BAC996
accent
#D552AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6A48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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