#6B4DDB#6B4DDB

#6B4DDB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.206 H 286.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6B4DDB
RGBrgb(107, 77, 219)
HSLhsl(253, 66%, 58%)
HSVhsv(253, 65%, 86%)
CMYKcmyk(51.1%, 64.8%, 0%, 14.1%)
CIE-LABlab(43.58, 47.86, -68.64)
CIE-LCHlch(43.58, 83.68, 304.88°)
OKLaboklab(53.41% 0.0599 -0.1969)
OKLCHoklch(53.41% 0.206 286.9)
XYZxyz(21.4997, 13.5470, 68.4861)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DDB #BDDB4D
analogous
#4D76DB #6B4DDB #B24DDB
triadic
#6B4DDB #DB6B4D #4DDB6B
tetradic
#6B4DDB #DB4D76 #BDDB4D #4DDBB2
square
#6B4DDB #DB4D76 #BDDB4D #4DDBB2
split-complementary
#6B4DDB #DBB24D #76DB4D
monochromatic
#361D90 #4827C3 #6B4DDB #9580E5 #C0B3F0

Accessibility & contrast

On white

5.66
#6B4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6B4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DDB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DDB#FFFFFF#000000##FFFFFF
##6B4DDB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#41708D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b4ddb;
/* rgb */ color: rgb(107, 77, 219);
/* oklch */ color: oklch(53.4% 0.206 286.9);
Tailwind
colors: {
  custom: {
    50: '#9f81e7',
    500: '#6b4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ddb;
$custom-light: #9f81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ddb",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 252.676,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.20586,
    "h": 286.9
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#6B4DDB
secondary
#D2DEA6
accent
#E93FC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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