#6A41CC#6A41CC

#6A41CC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.4% C 0.202 H 290.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6A41CC
RGBrgb(106, 65, 204)
HSLhsl(258, 58%, 53%)
HSVhsv(258, 68%, 80%)
CMYKcmyk(48%, 68.1%, 0%, 20%)
CIE-LABlab(39.92, 49.92, -65.98)
CIE-LCHlch(39.92, 82.74, 307.11°)
OKLaboklab(50.39% 0.0721 -0.1891)
OKLCHoklch(50.39% 0.202 290.9)
XYZxyz(18.7302, 11.2037, 58.2907)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41CC #A3CC41
analogous
#415DCC #6A41CC #AF41CC
triadic
#6A41CC #CC6A41 #41CC6A
tetradic
#6A41CC #CC415D #A3CC41 #41CCAF
square
#6A41CC #CC415D #A3CC41 #41CCAF
split-complementary
#6A41CC #CCAF41 #5DCC41
monochromatic
#381F74 #4F2CA4 #6A41CC #9071D9 #B6A1E6

Accessibility & contrast

On white

6.48
#6A41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6A41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41CC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41CC#FFFFFF#000000##FFFFFF
##6A41CC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#4A6481
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a41cc;
/* rgb */ color: rgb(106, 65, 204);
/* oklch */ color: oklch(50.4% 0.202 290.9);
Tailwind
colors: {
  custom: {
    50: '#9d79dd',
    500: '#6a41cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a41cc;
$custom-light: #9d79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41cc",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 257.698,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.20239,
    "h": 290.9
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#6A41CC
secondary
#C1D396
accent
#E147B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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