#6A50E4#6A50E4

#6A50E4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.213 H 284.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6A50E4
RGBrgb(106, 80, 228)
HSLhsl(251, 73%, 60%)
HSVhsv(251, 65%, 89%)
CMYKcmyk(53.5%, 64.9%, 0%, 10.6%)
CIE-LABlab(44.80, 48.64, -71.77)
CIE-LCHlch(44.80, 86.70, 304.13°)
OKLaboklab(54.49% 0.0548 -0.2061)
OKLCHoklch(54.49% 0.213 284.9)
XYZxyz(22.8119, 14.4017, 74.9615)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50E4 #CAE450
analogous
#5080E4 #6A50E4 #B450E4
triadic
#6A50E4 #E46A50 #50E46A
tetradic
#6A50E4 #E45080 #CAE450 #50E4B4
square
#6A50E4 #E45080 #CAE450 #50E4B4
split-complementary
#6A50E4 #E4B450 #80E450
monochromatic
#3119A1 #4121D6 #6A50E4 #9785EC #C4BAF4

Accessibility & contrast

On white

5.41
#6A50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6A50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50E4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50E4#FFFFFF#000000##FFFFFF
##6A50E41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#357593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a50e4;
/* rgb */ color: rgb(106, 80, 228);
/* oklch */ color: oklch(54.5% 0.213 284.9);
Tailwind
colors: {
  custom: {
    50: '#9f83ee',
    500: '#6a50e4',
    950: '#000000',
  },
}
SCSS
$custom: #6a50e4;
$custom-light: #9f83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50e4",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 250.541,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.21329,
    "h": 284.9
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

primary
#6A50E4
secondary
#DAE4AC
accent
#D510B3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6A50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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