#6A48E1#6A48E1

#6A48E1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.219 H 286.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6A48E1
RGBrgb(106, 72, 225)
HSLhsl(253, 72%, 58%)
HSVhsv(253, 68%, 88%)
CMYKcmyk(52.9%, 68%, 0%, 11.8%)
CIE-LABlab(42.96, 52.13, -73.07)
CIE-LCHlch(42.96, 89.75, 305.51°)
OKLaboklab(53.09% 0.0623 -0.2099)
OKLCHoklch(53.09% 0.219 286.5)
XYZxyz(21.8478, 13.1340, 72.6035)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48E1 #BFE148
analogous
#4872E1 #6A48E1 #B648E1
triadic
#6A48E1 #E16A48 #48E16A
tetradic
#6A48E1 #E14872 #BFE148 #48E1B6
square
#6A48E1 #E14872 #BFE148 #48E1B6
split-complementary
#6A48E1 #E1B648 #72E148
monochromatic
#341996 #4721CB #6A48E1 #957DEA #C0B1F2

Accessibility & contrast

On white

5.79
#6A48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6A48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48E1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48E1#FFFFFF#000000##FFFFFF
##6A48E11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#396F8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a48e1;
/* rgb */ color: rgb(106, 72, 225);
/* oklch */ color: oklch(53.1% 0.219 286.5);
Tailwind
colors: {
  custom: {
    50: '#9f7dec',
    500: '#6a48e1',
    950: '#000000',
  },
}
SCSS
$custom: #6a48e1;
$custom-light: #9f7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48e1",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 253.333,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.219,
    "h": 286.5
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#6A48E1
secondary
#D3E1A4
accent
#EF39C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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