#6041CF#6041CF

#6041CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.7% C 0.206 H 286.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6041CF
RGBrgb(96, 65, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 69%, 81%)
CMYKcmyk(53.6%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.19, 49.09, -68.95)
CIE-LCHlch(39.19, 84.64, 305.45°)
OKLaboklab(49.71% 0.0577 -0.1982)
OKLCHoklch(49.71% 0.206 286.2)
XYZxyz(17.9733, 10.7714, 60.1514)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041CF #B0CF41
analogous
#4169CF #6041CF #A741CF
triadic
#6041CF #CF6041 #41CF60
tetradic
#6041CF #CF4169 #B0CF41 #41CFA7
square
#6041CF #CF4169 #B0CF41 #41CFA7
split-complementary
#6041CF #CFA741 #69CF41
monochromatic
#321E77 #462BA8 #6041CF #8972DB #B2A3E8

Accessibility & contrast

On white

6.66
#6041CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6041CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041CF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041CF#FFFFFF#000000##FFFFFF
##6041CF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#316683
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6041cf;
/* rgb */ color: rgb(96, 65, 207);
/* oklch */ color: oklch(49.7% 0.206 286.2);
Tailwind
colors: {
  custom: {
    50: '#9778df',
    500: '#6041cf',
    950: '#000000',
  },
}
SCSS
$custom: #6041cf;
$custom-light: #9778df;
$custom-dark: #000000;
JSON
{
  "hex": "#6041cf",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 253.099,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.20638,
    "h": 286.2
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#6041CF
secondary
#C7D497
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6041CF

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

Preview Lab → · Contrast checker → · Palette generator →

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