#6A4FE0#6A4FE0

#6A4FE0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.210 H 285.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6A4FE0
RGBrgb(106, 79, 224)
HSLhsl(251, 70%, 59%)
HSVhsv(251, 65%, 88%)
CMYKcmyk(52.7%, 64.7%, 0%, 12.2%)
CIE-LABlab(44.29, 48.03, -70.34)
CIE-LCHlch(44.29, 85.17, 304.32°)
OKLaboklab(54.02% 0.0562 -0.2019)
OKLCHoklch(54.02% 0.21 285.5)
XYZxyz(22.1904, 14.0368, 72.0467)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FE0 #C5E04F
analogous
#4F7DE0 #6A4FE0 #B24FE0
triadic
#6A4FE0 #E06A4F #4FE06A
tetradic
#6A4FE0 #E04F7D #C5E04F #4FE0B2
square
#6A4FE0 #E04F7D #C5E04F #4FE0B2
split-complementary
#6A4FE0 #E0B24F #7DE04F
monochromatic
#331B9A #4424CE #6A4FE0 #9683E9 #C2B7F2

Accessibility & contrast

On white

5.52
#6A4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6A4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FE0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FE0#FFFFFF#000000##FFFFFF
##6A4FE01.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#3A7391
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4fe0;
/* rgb */ color: rgb(106, 79, 224);
/* oklch */ color: oklch(54.0% 0.210 285.5);
Tailwind
colors: {
  custom: {
    50: '#9f82eb',
    500: '#6a4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fe0;
$custom-light: #9f82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fe0",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 251.172,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.20961,
    "h": 285.5
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#6A4FE0
secondary
#D7E2A9
accent
#ED3BCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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