#6D4E98#6D4E98

#6D4E98 is a mid, moderate violet. Relative luminance 0.110; OKLCH L 49.1% C 0.118 H 301.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6D4E98
RGBrgb(109, 78, 152)
HSLhsl(265, 32%, 45%)
HSVhsv(265, 49%, 60%)
CMYKcmyk(28.3%, 48.7%, 0%, 40.4%)
CIE-LABlab(39.52, 29.04, -35.90)
CIE-LCHlch(39.52, 46.17, 308.97°)
OKLaboklab(49.06% 0.0618 -0.1008)
OKLCHoklch(49.06% 0.118 301.5)
XYZxyz(14.6973, 10.9670, 31.0422)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E98 #79984E
analogous
#4E5498 #6D4E98 #924E98
triadic
#6D4E98 #986D4E #4E986D
tetradic
#6D4E98 #984E54 #79984E #4E9892
square
#6D4E98 #984E54 #79984E #4E9892
split-complementary
#6D4E98 #98924E #54984E
monochromatic
#332447 #503970 #6D4E98 #8C6EB5 #AC97CA

Accessibility & contrast

On white

6.58
#6D4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6D4E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E98
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E98#FFFFFF#000000##FFFFFF
##6D4E981.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#655B6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d4e98;
/* rgb */ color: rgb(109, 78, 152);
/* oklch */ color: oklch(49.1% 0.118 301.5);
Tailwind
colors: {
  custom: {
    50: '#9980b7',
    500: '#6d4e98',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e98;
$custom-light: #9980b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e98",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 265.135,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.1182,
    "h": 301.5
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#6D4E98
secondary
#A4B68C
accent
#C85F9C
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6D4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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