#6B4FD9#6B4FD9

#6B4FD9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.5% C 0.201 H 286.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6B4FD9
RGBrgb(107, 79, 217)
HSLhsl(252, 64%, 58%)
HSVhsv(252, 64%, 85%)
CMYKcmyk(50.7%, 63.6%, 0%, 14.9%)
CIE-LABlab(43.84, 46.16, -67.07)
CIE-LCHlch(43.84, 81.42, 304.54°)
OKLaboklab(53.55% 0.0582 -0.1923)
OKLCHoklch(53.55% 0.201 286.8)
XYZxyz(21.3801, 13.7265, 67.1551)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FD9 #BDD94F
analogous
#4F78D9 #6B4FD9 #B04FD9
triadic
#6B4FD9 #D96B4F #4FD96B
tetradic
#6B4FD9 #D94F78 #BDD94F #4FD9B0
square
#6B4FD9 #D94F78 #BDD94F #4FD9B0
split-complementary
#6B4FD9 #D9B04F #78D94F
monochromatic
#361F8F #482AC1 #6B4FD9 #9581E4 #C0B4EF

Accessibility & contrast

On white

5.61
#6B4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6B4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FD9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FD9#FFFFFF#000000##FFFFFF
##6B4FD91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#42718D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4fd9;
/* rgb */ color: rgb(107, 79, 217);
/* oklch */ color: oklch(53.5% 0.201 286.8);
Tailwind
colors: {
  custom: {
    50: '#9e82e6',
    500: '#6b4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fd9;
$custom-light: #9e82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fd9",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 252.174,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.20094,
    "h": 286.8
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#6B4FD9
secondary
#D2DDA6
accent
#E740C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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