#6A48E5#6A48E5

#6A48E5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.224 H 286.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6A48E5
RGBrgb(106, 72, 229)
HSLhsl(253, 75%, 59%)
HSVhsv(253, 69%, 90%)
CMYKcmyk(53.7%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.29, 53.27, -74.80)
CIE-LCHlch(43.29, 91.83, 305.46°)
OKLaboklab(53.43% 0.0617 -0.215)
OKLCHoklch(53.43% 0.224 286)
XYZxyz(22.3998, 13.3548, 75.5110)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48E5 #C3E548
analogous
#4875E5 #6A48E5 #B948E5
triadic
#6A48E5 #E56A48 #48E56A
tetradic
#6A48E5 #E54875 #C3E548 #48E5B9
square
#6A48E5 #E54875 #C3E548 #48E5B9
split-complementary
#6A48E5 #E5B948 #75E548
monochromatic
#33169C #451ED2 #6A48E5 #967EED #C1B3F4

Accessibility & contrast

On white

5.72
#6A48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6A48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48E5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48E5#FFFFFF#000000##FFFFFF
##6A48E51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#357191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a48e5;
/* rgb */ color: rgb(106, 72, 229);
/* oklch */ color: oklch(53.4% 0.224 286.0);
Tailwind
colors: {
  custom: {
    50: '#a07eee',
    500: '#6a48e5',
    950: '#000000',
  },
}
SCSS
$custom: #6a48e5;
$custom-light: #a07eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48e5",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 252.994,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.2237,
    "h": 286
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#6A48E5
secondary
#D6E3A6
accent
#F236C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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