#6B409D#6B409D

#6B409D is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.147 H 302.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6B409D
RGBrgb(107, 64, 157)
HSLhsl(268, 42%, 43%)
HSVhsv(268, 59%, 62%)
CMYKcmyk(31.8%, 59.2%, 0%, 38.4%)
CIE-LABlab(36.42, 38.00, -43.88)
CIE-LCHlch(36.42, 58.05, 310.89°)
OKLaboklab(46.8% 0.0788 -0.1241)
OKLCHoklch(46.8% 0.147 302.4)
XYZxyz(13.9812, 9.2269, 32.9361)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B409D #729D40
analogous
#40439D #6B409D #99409D
triadic
#6B409D #9D6B40 #409D6B
tetradic
#6B409D #9D4043 #729D40 #409D99
square
#6B409D #9D4043 #729D40 #409D99
split-complementary
#6B409D #9D9940 #439D40
monochromatic
#301D46 #4D2E72 #6B409D #895DBD #A989CF

Accessibility & contrast

On white

7.38
#6B409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6B409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B409D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B409D#FFFFFF#000000##FFFFFF
##6B409D1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#28559B
Tritanopia (blue-blind)
#615368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b409d;
/* rgb */ color: rgb(107, 64, 157);
/* oklch */ color: oklch(46.8% 0.147 302.4);
Tailwind
colors: {
  custom: {
    50: '#9977ba',
    500: '#6b409d',
    950: '#000000',
  },
}
SCSS
$custom: #6b409d;
$custom-light: #9977ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b409d",
  "rgb": {
    "r": 107,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 267.742,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.14701,
    "h": 302.4
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#6B409D
secondary
#9FB97F
accent
#D25699
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6B409D

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

Preview Lab → · Contrast checker → · Palette generator →

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