#6B4FDD#6B4FDD

#6B4FDD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.206 H 286.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6B4FDD
RGBrgb(107, 79, 221)
HSLhsl(252, 68%, 59%)
HSVhsv(252, 64%, 87%)
CMYKcmyk(51.6%, 64.3%, 0%, 13.3%)
CIE-LABlab(44.14, 47.33, -68.86)
CIE-LCHlch(44.14, 83.56, 304.50°)
OKLaboklab(53.87% 0.0578 -0.1976)
OKLCHoklch(53.87% 0.206 286.3)
XYZxyz(21.9067, 13.9371, 69.9284)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FDD #C1DD4F
analogous
#4F7ADD #6B4FDD #B24FDD
triadic
#6B4FDD #DD6B4F #4FDD6B
tetradic
#6B4FDD #DD4F7A #C1DD4F #4FDDB2
square
#6B4FDD #DD4F7A #C1DD4F #4FDDB2
split-complementary
#6B4FDD #DDB24F #7ADD4F
monochromatic
#341D95 #4727C8 #6B4FDD #9682E7 #C1B6F1

Accessibility & contrast

On white

5.54
#6B4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6B4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FDD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FDD#FFFFFF#000000##FFFFFF
##6B4FDD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#3F728F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4fdd;
/* rgb */ color: rgb(107, 79, 221);
/* oklch */ color: oklch(53.9% 0.206 286.3);
Tailwind
colors: {
  custom: {
    50: '#9f82e9',
    500: '#6b4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fdd;
$custom-light: #9f82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fdd",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 251.831,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.20586,
    "h": 286.3
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#6B4FDD
secondary
#D5E0A8
accent
#EA3DC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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