#6A4BB2#6A4BB2

#6A4BB2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.157 H 293.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6A4BB2
RGBrgb(106, 75, 178)
HSLhsl(258, 41%, 50%)
HSVhsv(258, 58%, 70%)
CMYKcmyk(40.4%, 57.9%, 0%, 30.2%)
CIE-LABlab(40.10, 37.09, -50.50)
CIE-LCHlch(40.10, 62.65, 306.29°)
OKLaboklab(49.92% 0.0634 -0.1436)
OKLCHoklch(49.92% 0.157 293.8)
XYZxyz(16.4937, 11.3103, 43.4249)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BB2 #93B24B
analogous
#4B60B2 #6A4BB2 #9D4BB2
triadic
#6A4BB2 #B26A4B #4BB26A
tetradic
#6A4BB2 #B24B60 #93B24B #4BB29D
square
#6A4BB2 #B24B60 #93B24B #4BB29D
split-complementary
#6A4BB2 #B29D4B #60B24B
monochromatic
#37275C #503987 #6A4BB2 #8D75C5 #B1A0D7

Accessibility & contrast

On white

6.44
#6A4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6A4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BB2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BB2#FFFFFF#000000##FFFFFF
##6A4BB21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#576177
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a4bb2;
/* rgb */ color: rgb(106, 75, 178);
/* oklch */ color: oklch(49.9% 0.157 293.8);
Tailwind
colors: {
  custom: {
    50: '#997eca',
    500: '#6a4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bb2;
$custom-light: #997eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bb2",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 258.058,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.15698,
    "h": 293.8
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#6A4BB2
secondary
#B6C495
accent
#D157AC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6A4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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