#6B49E4#6B49E4

#6B49E4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.221 H 286.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6B49E4
RGBrgb(107, 73, 228)
HSLhsl(253, 74%, 59%)
HSVhsv(253, 68%, 89%)
CMYKcmyk(53.1%, 68%, 0%, 10.6%)
CIE-LABlab(43.49, 52.61, -73.90)
CIE-LCHlch(43.49, 90.72, 305.45°)
OKLaboklab(53.57% 0.0623 -0.2124)
OKLCHoklch(53.57% 0.221 286.4)
XYZxyz(22.4454, 13.4911, 74.8051)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49E4 #C2E449
analogous
#4975E4 #6B49E4 #B949E4
triadic
#6B49E4 #E46B49 #49E46B
tetradic
#6B49E4 #E44975 #C2E449 #49E4B9
square
#6B49E4 #E44975 #C2E449 #49E4B9
split-complementary
#6B49E4 #E4B949 #75E449
monochromatic
#34179C #461FD1 #6B49E4 #967EEC #C2B4F4

Accessibility & contrast

On white

5.68
#6B49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6B49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49E4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49E4#FFFFFF#000000##FFFFFF
##6B49E41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#397191
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b49e4;
/* rgb */ color: rgb(107, 73, 228);
/* oklch */ color: oklch(53.6% 0.221 286.4);
Tailwind
colors: {
  custom: {
    50: '#a07eee',
    500: '#6b49e4',
    950: '#000000',
  },
}
SCSS
$custom: #6b49e4;
$custom-light: #a07eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49e4",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 253.161,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.22133,
    "h": 286.4
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#6B49E4
secondary
#D5E3A6
accent
#F137C8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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