#6D4DC2#6D4DC2

#6D4DC2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.175 H 291.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6D4DC2
RGBrgb(109, 77, 194)
HSLhsl(256, 49%, 53%)
HSVhsv(256, 60%, 76%)
CMYKcmyk(43.8%, 60.3%, 0%, 23.9%)
CIE-LABlab(41.93, 41.09, -56.90)
CIE-LCHlch(41.93, 70.19, 305.84°)
OKLaboklab(51.68% 0.0646 -0.1623)
OKLCHoklch(51.68% 0.175 291.7)
XYZxyz(18.6955, 12.4534, 52.4472)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DC2 #A2C24D
analogous
#4D67C2 #6D4DC2 #A74DC2
triadic
#6D4DC2 #C26D4D #4DC26D
tetradic
#6D4DC2 #C24D67 #A2C24D #4DC2A7
square
#6D4DC2 #C24D67 #A2C24D #4DC2A7
split-complementary
#6D4DC2 #C2A74D #67C24D
monochromatic
#3A266F #52369C #6D4DC2 #927BD2 #B8A8E1

Accessibility & contrast

On white

6.02
#6D4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6D4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DC2#FFFFFF#000000##FFFFFF
##6D4DC21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#556780
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d4dc2;
/* rgb */ color: rgb(109, 77, 194);
/* oklch */ color: oklch(51.7% 0.175 291.7);
Tailwind
colors: {
  custom: {
    50: '#9d80d5',
    500: '#6d4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dc2;
$custom-light: #9d80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dc2",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 256.41,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51677,
    "c": 0.17475,
    "h": 291.7
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#6D4DC2
secondary
#C1CF9C
accent
#D94FB3
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6D4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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