#6C4BDD#6C4BDD

#6C4BDD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.211 H 287.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6C4BDD
RGBrgb(108, 75, 221)
HSLhsl(254, 68%, 58%)
HSVhsv(254, 66%, 87%)
CMYKcmyk(51.1%, 66.1%, 0%, 13.3%)
CIE-LABlab(43.42, 49.70, -70.04)
CIE-LCHlch(43.42, 85.88, 305.36°)
OKLaboklab(53.36% 0.0629 -0.201)
OKLCHoklch(53.36% 0.211 287.4)
XYZxyz(21.7477, 13.4397, 69.8408)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BDD #BCDD4B
analogous
#4B73DD #6C4BDD #B54BDD
triadic
#6C4BDD #DD6C4B #4BDD6C
tetradic
#6C4BDD #DD4B73 #BCDD4B #4BDDB5
square
#6C4BDD #DD4B73 #BCDD4B #4BDDB5
split-complementary
#6C4BDD #DDB54B #73DD4B
monochromatic
#361C92 #4A25C5 #6C4BDD #967EE7 #C0B2F0

Accessibility & contrast

On white

5.69
#6C4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6C4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BDD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BDD#FFFFFF#000000##FFFFFF
##6C4BDD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#416F8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c4bdd;
/* rgb */ color: rgb(108, 75, 221);
/* oklch */ color: oklch(53.4% 0.211 287.4);
Tailwind
colors: {
  custom: {
    50: '#a07fe9',
    500: '#6c4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bdd;
$custom-light: #a07fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bdd",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 253.562,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.21061,
    "h": 287.4
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#6C4BDD
secondary
#D2DFA5
accent
#EB3DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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