#6A49EC#6A49EC

#6A49EC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.231 H 285.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6A49EC
RGBrgb(106, 73, 236)
HSLhsl(252, 81%, 61%)
HSVhsv(252, 69%, 93%)
CMYKcmyk(55.1%, 69.1%, 0%, 7.5%)
CIE-LABlab(44.07, 54.74, -77.50)
CIE-LCHlch(44.07, 94.88, 305.24°)
OKLaboklab(54.16% 0.0596 -0.2229)
OKLCHoklch(54.16% 0.231 285)
XYZxyz(23.4621, 13.8840, 80.7842)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A49EC #CBEC49
analogous
#4979EC #6A49EC #BB49EC
triadic
#6A49EC #EC6A49 #49EC6A
tetradic
#6A49EC #EC4979 #CBEC49 #49ECBB
square
#6A49EC #EC4979 #CBEC49 #49ECBB
split-complementary
#6A49EC #ECBB49 #79EC49
monochromatic
#3012A9 #4017E0 #6A49EC #9780F2 #C5B8F8

Accessibility & contrast

On white

5.56
#6A49EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6A49EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A49EC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A49EC#FFFFFF#000000##FFFFFF
##6A49EC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#2D7495
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a49ec;
/* rgb */ color: rgb(106, 73, 236);
/* oklch */ color: oklch(54.2% 0.231 285.0);
Tailwind
colors: {
  custom: {
    50: '#a17ef3',
    500: '#6a49ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a49ec;
$custom-light: #a17ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a49ec",
  "rgb": {
    "r": 106,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 252.147,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.23078,
    "h": 285
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#6A49EC
secondary
#DBE7A9
accent
#DD08B2
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A49EC

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

Preview Lab → · Contrast checker → · Palette generator →

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