#6041CB#6041CB

#6041CB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.4% C 0.202 H 286.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6041CB
RGBrgb(96, 65, 203)
HSLhsl(253, 57%, 53%)
HSVhsv(253, 68%, 80%)
CMYKcmyk(52.7%, 68%, 0%, 20.4%)
CIE-LABlab(38.86, 47.93, -67.17)
CIE-LCHlch(38.86, 82.52, 305.51°)
OKLaboklab(49.37% 0.0583 -0.193)
OKLCHoklch(49.37% 0.202 286.8)
XYZxyz(17.4905, 10.5783, 57.6085)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041CB #ACCB41
analogous
#4167CB #6041CB #A541CB
triadic
#6041CB #CB6041 #41CB60
tetradic
#6041CB #CB4167 #ACCB41 #41CBA5
square
#6041CB #CB4167 #ACCB41 #41CBA5
split-complementary
#6041CB #CBA541 #67CB41
monochromatic
#321F72 #472CA2 #6041CB #8871D8 #B0A1E5

Accessibility & contrast

On white

6.74
#6041CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6041CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041CB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041CB#FFFFFF#000000##FFFFFF
##6041CB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#356481
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6041cb;
/* rgb */ color: rgb(96, 65, 203);
/* oklch */ color: oklch(49.4% 0.202 286.8);
Tailwind
colors: {
  custom: {
    50: '#9778dc',
    500: '#6041cb',
    950: '#000000',
  },
}
SCSS
$custom: #6041cb;
$custom-light: #9778dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6041cb",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 253.478,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.20158,
    "h": 286.8
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#6041CB
secondary
#C4D296
accent
#E048BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6041CB

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

Preview Lab → · Contrast checker → · Palette generator →

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