#6A41CB#6A41CB

#6A41CB is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.3% C 0.201 H 291.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6A41CB
RGBrgb(106, 65, 203)
HSLhsl(258, 57%, 53%)
HSVhsv(258, 68%, 80%)
CMYKcmyk(47.8%, 68%, 0%, 20.4%)
CIE-LABlab(39.84, 49.65, -65.53)
CIE-LCHlch(39.84, 82.21, 307.15°)
OKLaboklab(50.31% 0.0722 -0.1878)
OKLCHoklch(50.31% 0.201 291)
XYZxyz(18.6106, 11.1559, 57.6610)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41CB #A2CB41
analogous
#415DCB #6A41CB #AF41CB
triadic
#6A41CB #CB6A41 #41CB6A
tetradic
#6A41CB #CB415D #A2CB41 #41CBAF
square
#6A41CB #CB415D #A2CB41 #41CBAF
split-complementary
#6A41CB #CBAF41 #5DCB41
monochromatic
#381F72 #4F2CA2 #6A41CB #9071D8 #B5A1E5

Accessibility & contrast

On white

6.50
#6A41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6A41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41CB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41CB#FFFFFF#000000##FFFFFF
##6A41CB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#4B6381
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a41cb;
/* rgb */ color: rgb(106, 65, 203);
/* oklch */ color: oklch(50.3% 0.201 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d78dc',
    500: '#6a41cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a41cb;
$custom-light: #9d78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41cb",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 257.826,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.20122,
    "h": 291
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#6A41CB
secondary
#C0D296
accent
#E048B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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