#6041CD#6041CD

#6041CD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.5% C 0.204 H 286.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6041CD
RGBrgb(96, 65, 205)
HSLhsl(253, 58%, 53%)
HSVhsv(253, 68%, 80%)
CMYKcmyk(53.2%, 68.3%, 0%, 19.6%)
CIE-LABlab(39.03, 48.51, -68.06)
CIE-LCHlch(39.03, 83.58, 305.48°)
OKLaboklab(49.54% 0.058 -0.1956)
OKLCHoklch(49.54% 0.204 286.5)
XYZxyz(17.7303, 10.6742, 58.8719)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041CD #AECD41
analogous
#4168CD #6041CD #A641CD
triadic
#6041CD #CD6041 #41CD60
tetradic
#6041CD #CD4168 #AECD41 #41CDA6
square
#6041CD #CD4168 #AECD41 #41CDA6
split-complementary
#6041CD #CDA641 #68CD41
monochromatic
#321F75 #462CA5 #6041CD #8971DA #B1A2E6

Accessibility & contrast

On white

6.70
#6041CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6041CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041CD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041CD#FFFFFF#000000##FFFFFF
##6041CD1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#336582
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6041cd;
/* rgb */ color: rgb(96, 65, 205);
/* oklch */ color: oklch(49.5% 0.204 286.5);
Tailwind
colors: {
  custom: {
    50: '#9778dd',
    500: '#6041cd',
    950: '#000000',
  },
}
SCSS
$custom: #6041cd;
$custom-light: #9778dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6041cd",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 253.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.20399,
    "h": 286.5
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#6041CD
secondary
#C6D397
accent
#E246BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6041CD

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

Preview Lab → · Contrast checker → · Palette generator →

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