#6A48CD#6A48CD

#6A48CD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.195 H 289.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6A48CD
RGBrgb(106, 72, 205)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48.3%, 64.9%, 0%, 19.6%)
CIE-LABlab(41.38, 46.43, -64.18)
CIE-LCHlch(41.38, 79.21, 305.88°)
OKLaboklab(51.47% 0.0651 -0.1838)
OKLCHoklch(51.47% 0.195 289.5)
XYZxyz(19.2775, 12.1059, 59.0667)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48CD #ABCD48
analogous
#4869CD #6A48CD #AD48CD
triadic
#6A48CD #CD6A48 #48CD6A
tetradic
#6A48CD #CD4869 #ABCD48 #48CDAD
square
#6A48CD #CD4869 #ABCD48 #48CDAD
split-complementary
#6A48CD #CDAD48 #69CD48
monochromatic
#382179 #4E2EA9 #6A48CD #9178DA #B8A8E7

Accessibility & contrast

On white

6.14
#6A48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6A48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48CD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48CD#FFFFFF#000000##FFFFFF
##6A48CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#496884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a48cd;
/* rgb */ color: rgb(106, 72, 205);
/* oklch */ color: oklch(51.5% 0.195 289.5);
Tailwind
colors: {
  custom: {
    50: '#9d7ddd',
    500: '#6a48cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a48cd;
$custom-light: #9d7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48cd",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 255.338,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.19502,
    "h": 289.5
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#6A48CD
secondary
#C6D59C
accent
#E047B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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