#6B4FA2#6B4FA2

#6B4FA2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.130 H 297.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6B4FA2
RGBrgb(107, 79, 162)
HSLhsl(260, 34%, 47%)
HSVhsv(260, 51%, 64%)
CMYKcmyk(34%, 51.2%, 0%, 36.5%)
CIE-LABlab(40.12, 30.54, -40.95)
CIE-LCHlch(40.12, 51.09, 306.72°)
OKLaboklab(49.64% 0.0589 -0.1156)
OKLCHoklch(49.64% 0.13 297)
XYZxyz(15.3794, 11.3262, 35.5513)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FA2 #86A24F
analogous
#4F5DA2 #6B4FA2 #954FA2
triadic
#6B4FA2 #A26B4F #4FA26B
tetradic
#6B4FA2 #A24F5D #86A24F #4FA295
square
#6B4FA2 #A24F5D #86A24F #4FA295
split-complementary
#6B4FA2 #A2954F #5DA24F
monochromatic
#352750 #503B79 #6B4FA2 #8B73BB #AD9CCF

Accessibility & contrast

On white

6.43
#6B4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6B4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FA2#FFFFFF#000000##FFFFFF
##6B4FA21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#5F5F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b4fa2;
/* rgb */ color: rgb(107, 79, 162);
/* oklch */ color: oklch(49.6% 0.130 297.0);
Tailwind
colors: {
  custom: {
    50: '#9881be',
    500: '#6b4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fa2;
$custom-light: #9881be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fa2",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 260.241,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4964,
    "c": 0.1297,
    "h": 297
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#6B4FA2
secondary
#ADBC91
accent
#CB5DA6
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6B4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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