#6B4DCD#6B4DCD

#6B4DCD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.189 H 289.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6B4DCD
RGBrgb(107, 77, 205)
HSLhsl(254, 56%, 55%)
HSVhsv(254, 62%, 80%)
CMYKcmyk(47.8%, 62.4%, 0%, 19.6%)
CIE-LABlab(42.52, 43.82, -62.32)
CIE-LCHlch(42.52, 76.19, 305.11°)
OKLaboklab(52.31% 0.0613 -0.1784)
OKLCHoklch(52.31% 0.189 289)
XYZxyz(19.7336, 12.8405, 59.1845)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DCD #AFCD4D
analogous
#4D6FCD #6B4DCD #AB4DCD
triadic
#6B4DCD #CD6B4D #4DCD6B
tetradic
#6B4DCD #CD4D6F #AFCD4D #4DCDAB
square
#6B4DCD #CD4D6F #AFCD4D #4DCDAB
split-complementary
#6B4DCD #CDAB4D #6FCD4D
monochromatic
#38237D #4D30AC #6B4DCD #937DDA #BAADE8

Accessibility & contrast

On white

5.89
#6B4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6B4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DCD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DCD#FFFFFF#000000##FFFFFF
##6B4DCD1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#4B6B86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4dcd;
/* rgb */ color: rgb(107, 77, 205);
/* oklch */ color: oklch(52.3% 0.189 289.0);
Tailwind
colors: {
  custom: {
    50: '#9d80dd',
    500: '#6b4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dcd;
$custom-light: #9d80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dcd",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 254.063,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.1886,
    "h": 289
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#6B4DCD
secondary
#C9D6A0
accent
#DF48BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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