#6041CA#6041CA

#6041CA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.3% C 0.200 H 287.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6041CA
RGBrgb(96, 65, 202)
HSLhsl(254, 56%, 52%)
HSVhsv(254, 68%, 79%)
CMYKcmyk(52.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(38.78, 47.64, -66.73)
CIE-LCHlch(38.78, 81.99, 305.52°)
OKLaboklab(49.29% 0.0585 -0.1916)
OKLCHoklch(49.29% 0.2 287)
XYZxyz(17.3717, 10.5308, 56.9830)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041CA #ABCA41
analogous
#4166CA #6041CA #A541CA
triadic
#6041CA #CA6041 #41CA60
tetradic
#6041CA #CA4166 #ABCA41 #41CAA5
square
#6041CA #CA4166 #ABCA41 #41CAA5
split-complementary
#6041CA #CAA541 #66CA41
monochromatic
#322071 #472DA1 #6041CA #8871D7 #B0A1E5

Accessibility & contrast

On white

6.76
#6041CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6041CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041CA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041CA#FFFFFF#000000##FFFFFF
##6041CA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#366480
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6041ca;
/* rgb */ color: rgb(96, 65, 202);
/* oklch */ color: oklch(49.3% 0.200 287.0);
Tailwind
colors: {
  custom: {
    50: '#9778db',
    500: '#6041ca',
    950: '#000000',
  },
}
SCSS
$custom: #6041ca;
$custom-light: #9778db;
$custom-dark: #000000;
JSON
{
  "hex": "#6041ca",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 253.577,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49286,
    "c": 0.20037,
    "h": 287
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#6041CA
secondary
#C4D196
accent
#E048BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6041CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6041CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva