#6A41D2#6A41D2

#6A41D2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.209 H 289.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6A41D2
RGBrgb(106, 65, 210)
HSLhsl(257, 62%, 54%)
HSVhsv(257, 69%, 82%)
CMYKcmyk(49.5%, 69%, 0%, 17.6%)
CIE-LABlab(40.41, 51.59, -68.66)
CIE-LCHlch(40.41, 85.88, 306.92°)
OKLaboklab(50.89% 0.0711 -0.197)
OKLCHoklch(50.89% 0.209 289.8)
XYZxyz(19.4637, 11.4971, 62.1539)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41D2 #A9D241
analogous
#4161D2 #6A41D2 #B341D2
triadic
#6A41D2 #D26A41 #41D26A
tetradic
#6A41D2 #D24161 #A9D241 #41D2B3
square
#6A41D2 #D24161 #A9D241 #41D2B3
split-complementary
#6A41D2 #D2B341 #61D241
monochromatic
#381D7B #4E29AD #6A41D2 #9172DE #B8A4E9

Accessibility & contrast

On white

6.36
#6A41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6A41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41D2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41D2#FFFFFF#000000##FFFFFF
##6A41D21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#466685
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a41d2;
/* rgb */ color: rgb(106, 65, 210);
/* oklch */ color: oklch(50.9% 0.209 289.8);
Tailwind
colors: {
  custom: {
    50: '#9e79e1',
    500: '#6a41d2',
    950: '#000000',
  },
}
SCSS
$custom: #6a41d2;
$custom-light: #9e79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41d2",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 256.966,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.20941,
    "h": 289.8
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#6A41D2
secondary
#C5D698
accent
#E543B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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