#6B41CC#6B41CC

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

Color values

HEX#6B41CC
RGBrgb(107, 65, 204)
HSLhsl(258, 58%, 53%)
HSVhsv(258, 68%, 80%)
CMYKcmyk(47.5%, 68.1%, 0%, 20%)
CIE-LABlab(40.02, 50.10, -65.81)
CIE-LCHlch(40.02, 82.71, 307.28°)
OKLaboklab(50.49% 0.0735 -0.1886)
OKLCHoklch(50.49% 0.202 291.3)
XYZxyz(18.8497, 11.2653, 58.2963)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41CC #A2CC41
analogous
#415DCC #6B41CC #B041CC
triadic
#6B41CC #CC6B41 #41CC6B
tetradic
#6B41CC #CC415D #A2CC41 #41CCB0
square
#6B41CC #CC415D #A2CC41 #41CCB0
split-complementary
#6B41CC #CCB041 #5DCC41
monochromatic
#391F74 #502CA4 #6B41CC #9171D9 #B6A1E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B41CC#FFFFFF#000000##FFFFFF
##6B41CC1.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)
#0061D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#4C6481
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b41cc;
/* rgb */ color: rgb(107, 65, 204);
/* oklch */ color: oklch(50.5% 0.202 291.3);
Tailwind
colors: {
  custom: {
    50: '#9d79dd',
    500: '#6b41cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b41cc;
$custom-light: #9d79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41cc",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 258.129,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.20239,
    "h": 291.3
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#6B41CC
secondary
#C0D396
accent
#E147B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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