#6E48BA#6E48BA

#6E48BA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.172 H 294.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6E48BA
RGBrgb(110, 72, 186)
HSLhsl(260, 45%, 51%)
HSVhsv(260, 61%, 73%)
CMYKcmyk(40.9%, 61.3%, 0%, 27.1%)
CIE-LABlab(40.40, 41.93, -54.69)
CIE-LCHlch(40.40, 68.91, 307.47°)
OKLaboklab(50.41% 0.0721 -0.1558)
OKLCHoklch(50.41% 0.172 294.8)
XYZxyz(17.6084, 11.4945, 47.7358)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E48BA #94BA48
analogous
#485BBA #6E48BA #A748BA
triadic
#6E48BA #BA6E48 #48BA6E
tetradic
#6E48BA #BA485B #94BA48 #48BAA7
square
#6E48BA #BA485B #94BA48 #48BAA7
split-complementary
#6E48BA #BAA748 #5BBA48
monochromatic
#3A2562 #54368F #6E48BA #9174CB #B4A1DC

Accessibility & contrast

On white

6.37
#6E48BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6E48BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E48BA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E48BA#FFFFFF#000000##FFFFFF
##6E48BA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#045DB8
Tritanopia (blue-blind)
#5A617A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e48ba;
/* rgb */ color: rgb(110, 72, 186);
/* oklch */ color: oklch(50.4% 0.172 294.8);
Tailwind
colors: {
  custom: {
    50: '#9d7dcf',
    500: '#6e48ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e48ba;
$custom-light: #9d7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e48ba",
  "rgb": {
    "r": 110,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 260,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.1717,
    "h": 294.8
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#6E48BA
secondary
#B7C896
accent
#D553AA
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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