#6B49CA#6B49CA

#6B49CA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.190 H 290.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6B49CA
RGBrgb(107, 73, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 64%, 79%)
CMYKcmyk(47%, 63.9%, 0%, 20.8%)
CIE-LABlab(41.46, 45.21, -62.31)
CIE-LCHlch(41.46, 76.98, 305.96°)
OKLaboklab(51.47% 0.0657 -0.1783)
OKLCHoklch(51.47% 0.19 290.2)
XYZxyz(19.1036, 12.1544, 57.2051)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49CA #A8CA49
analogous
#4968CA #6B49CA #AC49CA
triadic
#6B49CA #CA6B49 #49CA6B
tetradic
#6B49CA #CA4968 #A8CA49 #49CAAC
square
#6B49CA #CA4968 #A8CA49 #49CAAC
split-complementary
#6B49CA #CAAC49 #68CA49
monochromatic
#382276 #4F30A6 #6B49CA #9278D8 #B8A8E6

Accessibility & contrast

On white

6.12
#6B49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6B49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49CA#FFFFFF#000000##FFFFFF
##6B49CA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#4D6883
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b49ca;
/* rgb */ color: rgb(107, 73, 202);
/* oklch */ color: oklch(51.5% 0.190 290.2);
Tailwind
colors: {
  custom: {
    50: '#9d7edb',
    500: '#6b49ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b49ca;
$custom-light: #9d7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49ca",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 255.814,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.19006,
    "h": 290.2
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#6B49CA
secondary
#C4D39C
accent
#DE4AB7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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