#6A4DEB#6A4DEB

#6A4DEB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.225 H 284.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6A4DEB
RGBrgb(106, 77, 235)
HSLhsl(251, 80%, 61%)
HSVhsv(251, 67%, 92%)
CMYKcmyk(54.9%, 67.2%, 0%, 7.8%)
CIE-LABlab(44.76, 52.33, -75.80)
CIE-LCHlch(44.76, 92.11, 304.62°)
OKLaboklab(54.63% 0.0565 -0.218)
OKLCHoklch(54.63% 0.225 284.5)
XYZxyz(23.5886, 14.3687, 80.1116)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DEB #CEEB4D
analogous
#4D7FEB #6A4DEB #B94DEB
triadic
#6A4DEB #EB6A4D #4DEB6A
tetradic
#6A4DEB #EB4D7F #CEEB4D #4DEBB9
square
#6A4DEB #EB4D7F #CEEB4D #4DEBB9
split-complementary
#6A4DEB #EBB94D #7FEB4D
monochromatic
#2F13AA #3E19E1 #6A4DEB #9884F1 #C6BBF7

Accessibility & contrast

On white

5.42
#6A4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6A4DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DEB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DEB#FFFFFF#000000##FFFFFF
##6A4DEB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#2D7696
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a4deb;
/* rgb */ color: rgb(106, 77, 235);
/* oklch */ color: oklch(54.6% 0.225 284.5);
Tailwind
colors: {
  custom: {
    50: '#a081f3',
    500: '#6a4deb',
    950: '#000000',
  },
}
SCSS
$custom: #6a4deb;
$custom-light: #a081f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4deb",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 251.013,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.22518,
    "h": 284.5
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#6A4DEB
secondary
#DDE8AC
accent
#DC09B5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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