#6E48BC#6E48BC

#6E48BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.174 H 294.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6E48BC
RGBrgb(110, 72, 188)
HSLhsl(260, 46%, 51%)
HSVhsv(260, 62%, 74%)
CMYKcmyk(41.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.54, 42.47, -55.64)
CIE-LCHlch(40.54, 70.00, 307.36°)
OKLaboklab(50.56% 0.072 -0.1586)
OKLCHoklch(50.56% 0.174 294.4)
XYZxyz(17.8225, 11.5801, 48.8634)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E48BC #96BC48
analogous
#485CBC #6E48BC #A848BC
triadic
#6E48BC #BC6E48 #48BC6E
tetradic
#6E48BC #BC485C #96BC48 #48BCA8
square
#6E48BC #BC485C #96BC48 #48BCA8
split-complementary
#6E48BC #BCA848 #5CBC48
monochromatic
#3A2565 #533592 #6E48BC #9175CC #B5A2DD

Accessibility & contrast

On white

6.33
#6E48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6E48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E48BC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E48BC#FFFFFF#000000##FFFFFF
##6E48BC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#59627B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e48bc;
/* rgb */ color: rgb(110, 72, 188);
/* oklch */ color: oklch(50.6% 0.174 294.4);
Tailwind
colors: {
  custom: {
    50: '#9d7dd1',
    500: '#6e48bc',
    950: '#000000',
  },
}
SCSS
$custom: #6e48bc;
$custom-light: #9d7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e48bc",
  "rgb": {
    "r": 110,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 259.655,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.17418,
    "h": 294.4
  },
  "luminance": 0.11581
}

Semantic roles & 50–950 ramp

primary
#6E48BC
secondary
#B9CA96
accent
#D652AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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