#6B4EAF#6B4EAF

#6B4EAF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.149 H 294.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6B4EAF
RGBrgb(107, 78, 175)
HSLhsl(258, 38%, 50%)
HSVhsv(258, 55%, 69%)
CMYKcmyk(38.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(40.69, 34.72, -47.77)
CIE-LCHlch(40.69, 59.06, 306.01°)
OKLaboklab(50.31% 0.061 -0.1356)
OKLCHoklch(50.31% 0.149 294.2)
XYZxyz(16.5236, 11.6694, 41.9310)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EAF #92AF4E
analogous
#4E62AF #6B4EAF #9C4EAF
triadic
#6B4EAF #AF6B4E #4EAF6B
tetradic
#6B4EAF #AF4E62 #92AF4E #4EAF9C
square
#6B4EAF #AF4E62 #92AF4E #4EAF9C
split-complementary
#6B4EAF #AF9C4E #62AF4E
monochromatic
#37285A #513B85 #6B4EAF #8E78C3 #B1A2D6

Accessibility & contrast

On white

6.30
#6B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6B4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EAF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EAF#FFFFFF#000000##FFFFFF
##6B4EAF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#295EAD
Tritanopia (blue-blind)
#5A6277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b4eaf;
/* rgb */ color: rgb(107, 78, 175);
/* oklch */ color: oklch(50.3% 0.149 294.2);
Tailwind
colors: {
  custom: {
    50: '#9980c7',
    500: '#6b4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6b4eaf;
$custom-light: #9980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4eaf",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 257.938,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.14865,
    "h": 294.2
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#6B4EAF
secondary
#B5C396
accent
#CE5AAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6B4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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