#6A49E7#6A49E7

#6A49E7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.225 H 285.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6A49E7
RGBrgb(106, 73, 231)
HSLhsl(253, 77%, 60%)
HSVhsv(253, 68%, 91%)
CMYKcmyk(54.1%, 68.4%, 0%, 9.4%)
CIE-LABlab(43.65, 53.31, -75.35)
CIE-LCHlch(43.65, 92.30, 305.28°)
OKLaboklab(53.74% 0.0605 -0.2166)
OKLCHoklch(53.74% 0.225 285.6)
XYZxyz(22.7459, 13.5975, 77.0118)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A49E7 #C6E749
analogous
#4977E7 #6A49E7 #B949E7
triadic
#6A49E7 #E76A49 #49E76A
tetradic
#6A49E7 #E74977 #C6E749 #49E7B9
square
#6A49E7 #E74977 #C6E749 #49E7B9
split-complementary
#6A49E7 #E7B949 #77E749
monochromatic
#3215A0 #431CD7 #6A49E7 #967FEE #C3B5F5

Accessibility & contrast

On white

5.65
#6A49E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6A49E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A49E7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A49E7#FFFFFF#000000##FFFFFF
##6A49E71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#337292
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a49e7;
/* rgb */ color: rgb(106, 73, 231);
/* oklch */ color: oklch(53.7% 0.225 285.6);
Tailwind
colors: {
  custom: {
    50: '#a07ef0',
    500: '#6a49e7',
    950: '#000000',
  },
}
SCSS
$custom: #6a49e7;
$custom-light: #a07ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a49e7",
  "rgb": {
    "r": 106,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 252.532,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.22493,
    "h": 285.6
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#6A49E7
secondary
#D8E5A7
accent
#F335CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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