#6A48DB#6A48DB

#6A48DB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.212 H 287.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6A48DB
RGBrgb(106, 72, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 67%, 86%)
CMYKcmyk(51.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.48, 50.42, -70.44)
CIE-LCHlch(42.48, 86.62, 305.59°)
OKLaboklab(52.6% 0.0632 -0.2022)
OKLCHoklch(52.6% 0.212 287.4)
XYZxyz(21.0436, 12.8123, 68.3683)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48DB #B9DB48
analogous
#486FDB #6A48DB #B448DB
triadic
#6A48DB #DB6A48 #48DB6A
tetradic
#6A48DB #DB486F #B9DB48 #48DBB4
square
#6A48DB #DB486F #B9DB48 #48DBB4
split-complementary
#6A48DB #DBB448 #6FDB48
monochromatic
#361C8D #4926C0 #6A48DB #947BE5 #BDAEEF

Accessibility & contrast

On white

5.89
#6A48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6A48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48DB#FFFFFF#000000##FFFFFF
##6A48DB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#3F6D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a48db;
/* rgb */ color: rgb(106, 72, 219);
/* oklch */ color: oklch(52.6% 0.212 287.4);
Tailwind
colors: {
  custom: {
    50: '#9e7de7',
    500: '#6a48db',
    950: '#000000',
  },
}
SCSS
$custom: #6a48db;
$custom-light: #9e7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48db",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 253.878,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.21189,
    "h": 287.4
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#6A48DB
secondary
#CFDDA2
accent
#EA3EC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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