#6B4DCB#6B4DCB

#6B4DCB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.186 H 289.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6B4DCB
RGBrgb(107, 77, 203)
HSLhsl(254, 55%, 55%)
HSVhsv(254, 62%, 80%)
CMYKcmyk(47.3%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.38, 43.24, -61.40)
CIE-LCHlch(42.38, 75.10, 305.15°)
OKLaboklab(52.16% 0.0614 -0.1757)
OKLCHoklch(52.16% 0.186 289.3)
XYZxyz(19.4937, 12.7446, 57.9212)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DCB #ADCB4D
analogous
#4D6ECB #6B4DCB #AA4DCB
triadic
#6B4DCB #CB6B4D #4DCB6B
tetradic
#6B4DCB #CB4D6E #ADCB4D #4DCBAA
square
#6B4DCB #CB4D6E #ADCB4D #4DCBAA
split-complementary
#6B4DCB #CBAA4D #6ECB4D
monochromatic
#38247A #4E31A9 #6B4DCB #927CD9 #BAACE7

Accessibility & contrast

On white

5.92
#6B4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6B4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DCB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DCB#FFFFFF#000000##FFFFFF
##6B4DCB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#4C6B85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4dcb;
/* rgb */ color: rgb(107, 77, 203);
/* oklch */ color: oklch(52.2% 0.186 289.3);
Tailwind
colors: {
  custom: {
    50: '#9d80dc',
    500: '#6b4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dcb;
$custom-light: #9d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dcb",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 254.286,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.18609,
    "h": 289.3
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#6B4DCB
secondary
#C8D49F
accent
#DE4ABB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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