#6B4FBB#6B4FBB

#6B4FBB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.163 H 291.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6B4FBB
RGBrgb(107, 79, 187)
HSLhsl(256, 44%, 52%)
HSVhsv(256, 58%, 73%)
CMYKcmyk(42.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(41.70, 37.51, -53.20)
CIE-LCHlch(41.70, 65.10, 305.19°)
OKLaboklab(51.31% 0.0599 -0.1515)
OKLCHoklch(51.31% 0.163 291.6)
XYZxyz(17.8266, 12.3051, 48.4399)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FBB #9FBB4F
analogous
#4F69BB #6B4FBB #A14FBB
triadic
#6B4FBB #BB6B4F #4FBB6B
tetradic
#6B4FBB #BB4F69 #9FBB4F #4FBBA1
square
#6B4FBB #BB4F69 #9FBB4F #4FBBA1
split-complementary
#6B4FBB #BBA14F #69BB4F
monochromatic
#382868 #513994 #6B4FBB #907BCC #B5A7DD

Accessibility & contrast

On white

6.07
#6B4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6B4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FBB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FBB#FFFFFF#000000##FFFFFF
##6B4FBB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#55677D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b4fbb;
/* rgb */ color: rgb(107, 79, 187);
/* oklch */ color: oklch(51.3% 0.163 291.6);
Tailwind
colors: {
  custom: {
    50: '#9b81d0',
    500: '#6b4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fbb;
$custom-light: #9b81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fbb",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 255.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51309,
    "c": 0.16292,
    "h": 291.6
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#6B4FBB
secondary
#BECA9B
accent
#D454B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6B4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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