#6D4EAF#6D4EAF

#6D4EAF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.149 H 295.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6D4EAF
RGBrgb(109, 78, 175)
HSLhsl(259, 38%, 50%)
HSVhsv(259, 55%, 69%)
CMYKcmyk(37.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(40.89, 35.21, -47.44)
CIE-LCHlch(40.89, 59.08, 306.59°)
OKLaboklab(50.51% 0.0636 -0.1345)
OKLCHoklch(50.51% 0.149 295.3)
XYZxyz(16.7669, 11.7948, 41.9424)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4EAF #90AF4E
analogous
#4E60AF #6D4EAF #9E4EAF
triadic
#6D4EAF #AF6D4E #4EAF6D
tetradic
#6D4EAF #AF4E60 #90AF4E #4EAF9E
square
#6D4EAF #AF4E60 #90AF4E #4EAF9E
split-complementary
#6D4EAF #AF9E4E #60AF4E
monochromatic
#38285A #533B85 #6D4EAF #9078C3 #B2A2D6

Accessibility & contrast

On white

6.25
#6D4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6D4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4EAF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4EAF#FFFFFF#000000##FFFFFF
##6D4EAF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#5D6277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4eaf;
/* rgb */ color: rgb(109, 78, 175);
/* oklch */ color: oklch(50.5% 0.149 295.3);
Tailwind
colors: {
  custom: {
    50: '#9b80c7',
    500: '#6d4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6d4eaf;
$custom-light: #9b80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4eaf",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 259.175,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.1488,
    "h": 295.3
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#6D4EAF
secondary
#B4C396
accent
#CE5AA9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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