#6A41CD#6A41CD

#6A41CD is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.204 H 290.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6A41CD
RGBrgb(106, 65, 205)
HSLhsl(258, 58%, 53%)
HSVhsv(258, 68%, 80%)
CMYKcmyk(48.3%, 68.3%, 0%, 19.6%)
CIE-LABlab(40.00, 50.20, -66.43)
CIE-LCHlch(40.00, 83.26, 307.08°)
OKLaboklab(50.47% 0.0719 -0.1904)
OKLCHoklch(50.47% 0.204 290.7)
XYZxyz(18.8505, 11.2518, 58.9244)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41CD #A4CD41
analogous
#415ECD #6A41CD #B041CD
triadic
#6A41CD #CD6A41 #41CD6A
tetradic
#6A41CD #CD415E #A4CD41 #41CDB0
square
#6A41CD #CD415E #A4CD41 #41CDB0
split-complementary
#6A41CD #CDB041 #5ECD41
monochromatic
#381F75 #4F2CA5 #6A41CD #9071DA #B6A2E6

Accessibility & contrast

On white

6.46
#6A41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6A41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41CD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41CD#FFFFFF#000000##FFFFFF
##6A41CD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#4A6482
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a41cd;
/* rgb */ color: rgb(106, 65, 205);
/* oklch */ color: oklch(50.5% 0.204 290.7);
Tailwind
colors: {
  custom: {
    50: '#9d79dd',
    500: '#6a41cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a41cd;
$custom-light: #9d79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41cd",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 257.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.20357,
    "h": 290.7
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#6A41CD
secondary
#C1D397
accent
#E246B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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