#6B4DCC#6B4DCC

#6B4DCC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.187 H 289.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6B4DCC
RGBrgb(107, 77, 204)
HSLhsl(254, 55%, 55%)
HSVhsv(254, 62%, 80%)
CMYKcmyk(47.5%, 62.3%, 0%, 20%)
CIE-LABlab(42.45, 43.53, -61.86)
CIE-LCHlch(42.45, 75.64, 305.13°)
OKLaboklab(52.24% 0.0614 -0.177)
OKLCHoklch(52.24% 0.187 289.1)
XYZxyz(19.6132, 12.7924, 58.5508)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DCC #AECC4D
analogous
#4D6FCC #6B4DCC #AA4DCC
triadic
#6B4DCC #CC6B4D #4DCC6B
tetradic
#6B4DCC #CC4D6F #AECC4D #4DCCAA
square
#6B4DCC #CC4D6F #AECC4D #4DCCAA
split-complementary
#6B4DCC #CCAA4D #6FCC4D
monochromatic
#38237B #4E31AB #6B4DCC #937DDA #BAACE7

Accessibility & contrast

On white

5.90
#6B4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6B4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DCC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DCC#FFFFFF#000000##FFFFFF
##6B4DCC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#4B6B85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4dcc;
/* rgb */ color: rgb(107, 77, 204);
/* oklch */ color: oklch(52.2% 0.187 289.1);
Tailwind
colors: {
  custom: {
    50: '#9d80dc',
    500: '#6b4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dcc;
$custom-light: #9d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dcc",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 254.173,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.18735,
    "h": 289.1
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#6B4DCC
secondary
#C8D5A0
accent
#DF49BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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