#6A48DC#6A48DC

#6A48DC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.213 H 287.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6A48DC
RGBrgb(106, 72, 220)
HSLhsl(254, 68%, 57%)
HSVhsv(254, 67%, 86%)
CMYKcmyk(51.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(42.56, 50.70, -70.88)
CIE-LCHlch(42.56, 87.14, 305.58°)
OKLaboklab(52.68% 0.0631 -0.2035)
OKLCHoklch(52.68% 0.213 287.2)
XYZxyz(21.1757, 12.8652, 69.0637)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48DC #BADC48
analogous
#4870DC #6A48DC #B448DC
triadic
#6A48DC #DC6A48 #48DC6A
tetradic
#6A48DC #DC4870 #BADC48 #48DCB4
square
#6A48DC #DC4870 #BADC48 #48DCB4
split-complementary
#6A48DC #DCB448 #70DC48
monochromatic
#361B8E #4925C2 #6A48DC #947BE6 #BEAFF0

Accessibility & contrast

On white

5.88
#6A48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48DC#FFFFFF#000000##FFFFFF
##6A48DC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#3E6E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a48dc;
/* rgb */ color: rgb(106, 72, 220);
/* oklch */ color: oklch(52.7% 0.213 287.2);
Tailwind
colors: {
  custom: {
    50: '#9e7de8',
    500: '#6a48dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a48dc;
$custom-light: #9e7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48dc",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 253.784,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.21307,
    "h": 287.2
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#6A48DC
secondary
#D0DEA2
accent
#EB3DC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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