#6D4FA2#6D4FA2

#6D4FA2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.8% C 0.130 H 298.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6D4FA2
RGBrgb(109, 79, 162)
HSLhsl(262, 34%, 47%)
HSVhsv(262, 51%, 64%)
CMYKcmyk(32.7%, 51.2%, 0%, 36.5%)
CIE-LABlab(40.33, 31.08, -40.61)
CIE-LCHlch(40.33, 51.14, 307.43°)
OKLaboklab(49.84% 0.0615 -0.1145)
OKLCHoklch(49.84% 0.13 298.2)
XYZxyz(15.6227, 11.4516, 35.5627)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FA2 #84A24F
analogous
#4F5AA2 #6D4FA2 #974FA2
triadic
#6D4FA2 #A26D4F #4FA26D
tetradic
#6D4FA2 #A24F5A #84A24F #4FA297
square
#6D4FA2 #A24F5A #84A24F #4FA297
split-complementary
#6D4FA2 #A2974F #5AA24F
monochromatic
#362750 #513B79 #6D4FA2 #8D73BB #AF9CCF

Accessibility & contrast

On white

6.38
#6D4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6D4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FA2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FA2#FFFFFF#000000##FFFFFF
##6D4FA21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#625F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4fa2;
/* rgb */ color: rgb(109, 79, 162);
/* oklch */ color: oklch(49.8% 0.130 298.2);
Tailwind
colors: {
  custom: {
    50: '#9981be',
    500: '#6d4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fa2;
$custom-light: #9981be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fa2",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 261.687,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.12998,
    "h": 298.2
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#6D4FA2
secondary
#ACBC91
accent
#CB5DA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6D4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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