#6C49E2#6C49E2

#6C49E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.219 H 287.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6C49E2
RGBrgb(108, 73, 226)
HSLhsl(254, 73%, 59%)
HSVhsv(254, 68%, 89%)
CMYKcmyk(52.2%, 67.7%, 0%, 11.4%)
CIE-LABlab(43.42, 52.20, -72.88)
CIE-LCHlch(43.42, 89.64, 305.62°)
OKLaboklab(53.49% 0.064 -0.2093)
OKLCHoklch(53.49% 0.219 287)
XYZxyz(22.2903, 13.4431, 73.3570)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C49E2 #BFE249
analogous
#4972E2 #6C49E2 #B849E2
triadic
#6C49E2 #E26C49 #49E26C
tetradic
#6C49E2 #E24972 #BFE249 #49E2B8
square
#6C49E2 #E24972 #BFE249 #49E2B8
split-complementary
#6C49E2 #E2B849 #72E249
monochromatic
#361898 #4821CD #6C49E2 #977EEA #C1B3F3

Accessibility & contrast

On white

5.69
#6C49E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6C49E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C49E2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C49E2#FFFFFF#000000##FFFFFF
##6C49E21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#3D7090
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c49e2;
/* rgb */ color: rgb(108, 73, 226);
/* oklch */ color: oklch(53.5% 0.219 287.0);
Tailwind
colors: {
  custom: {
    50: '#a07eec',
    500: '#6c49e2',
    950: '#000000',
  },
}
SCSS
$custom: #6c49e2;
$custom-light: #a07eec;
$custom-dark: #000000;
JSON
{
  "hex": "#6c49e2",
  "rgb": {
    "r": 108,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 253.725,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.21889,
    "h": 287
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#6C49E2
secondary
#D4E2A5
accent
#EF39C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C49E2

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

Preview Lab → · Contrast checker → · Palette generator →

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