#6B4DCF#6B4DCF

#6B4DCF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.191 H 288.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6B4DCF
RGBrgb(107, 77, 207)
HSLhsl(254, 58%, 56%)
HSVhsv(254, 63%, 81%)
CMYKcmyk(48.3%, 62.8%, 0%, 18.8%)
CIE-LABlab(42.67, 44.39, -63.24)
CIE-LCHlch(42.67, 77.26, 305.07°)
OKLaboklab(52.47% 0.0611 -0.181)
OKLCHoklch(52.47% 0.191 288.7)
XYZxyz(19.9765, 12.9377, 60.4640)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DCF #B1CF4D
analogous
#4D70CF #6B4DCF #AC4DCF
triadic
#6B4DCF #CF6B4D #4DCF6B
tetradic
#6B4DCF #CF4D70 #B1CF4D #4DCFAC
square
#6B4DCF #CF4D70 #B1CF4D #4DCFAC
split-complementary
#6B4DCF #CFAC4D #70CF4D
monochromatic
#38227F #4D2FAF #6B4DCF #937DDC #BBADE9

Accessibility & contrast

On white

5.85
#6B4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6B4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DCF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DCF#FFFFFF#000000##FFFFFF
##6B4DCF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#496C87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4dcf;
/* rgb */ color: rgb(107, 77, 207);
/* oklch */ color: oklch(52.5% 0.191 288.7);
Tailwind
colors: {
  custom: {
    50: '#9d80df',
    500: '#6b4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dcf;
$custom-light: #9d80df;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dcf",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 253.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.19108,
    "h": 288.7
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#6B4DCF
secondary
#CAD7A1
accent
#E147BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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