#6B4DD5#6B4DD5

#6B4DD5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.199 H 287.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6B4DD5
RGBrgb(107, 77, 213)
HSLhsl(253, 62%, 57%)
HSVhsv(253, 64%, 84%)
CMYKcmyk(49.8%, 63.8%, 0%, 16.5%)
CIE-LABlab(43.12, 46.12, -65.96)
CIE-LCHlch(43.12, 80.48, 304.97°)
OKLaboklab(52.93% 0.0606 -0.189)
OKLCHoklch(52.93% 0.199 287.8)
XYZxyz(20.7240, 13.2367, 64.4009)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DD5 #B7D54D
analogous
#4D73D5 #6B4DD5 #AF4DD5
triadic
#6B4DD5 #D56B4D #4DD56B
tetradic
#6B4DD5 #D54D73 #B7D54D #4DD5AF
square
#6B4DD5 #D54D73 #B7D54D #4DD5AF
split-complementary
#6B4DD5 #D5AF4D #73D54D
monochromatic
#372088 #4B2CB9 #6B4DD5 #947FE1 #BDB0EC

Accessibility & contrast

On white

5.76
#6B4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6B4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DD5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DD5#FFFFFF#000000##FFFFFF
##6B4DD51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#456E8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b4dd5;
/* rgb */ color: rgb(107, 77, 213);
/* oklch */ color: oklch(52.9% 0.199 287.8);
Tailwind
colors: {
  custom: {
    50: '#9e80e3',
    500: '#6b4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dd5;
$custom-light: #9e80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dd5",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 253.235,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.19851,
    "h": 287.8
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#6B4DD5
secondary
#CEDBA3
accent
#E543C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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