#6041EA#6041EA

#6041EA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.238 H 282.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6041EA
RGBrgb(96, 65, 234)
HSLhsl(251, 80%, 59%)
HSVhsv(251, 72%, 92%)
CMYKcmyk(59%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.54, 56.91, -80.54)
CIE-LCHlch(41.54, 98.62, 305.25°)
OKLaboklab(52.1% 0.0525 -0.2321)
OKLCHoklch(52.1% 0.238 282.7)
XYZxyz(21.5608, 12.2064, 79.0459)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041EA #CBEA41
analogous
#4176EA #6041EA #B441EA
triadic
#6041EA #EA6041 #41EA60
tetradic
#6041EA #EA4176 #CBEA41 #41EAB4
square
#6041EA #EA4176 #CBEA41 #41EAB4
split-complementary
#6041EA #EAB441 #76EA41
monochromatic
#2C129F #3B18D6 #6041EA #8E78F0 #BCAFF6

Accessibility & contrast

On white

6.10
#6041EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6041EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041EA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041EA#FFFFFF#000000##FFFFFF
##6041EA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005CE7
Tritanopia (blue-blind)
#007092
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6041ea;
/* rgb */ color: rgb(96, 65, 234);
/* oklch */ color: oklch(52.1% 0.238 282.7);
Tailwind
colors: {
  custom: {
    50: '#9c79f2',
    500: '#6041ea',
    950: '#000000',
  },
}
SCSS
$custom: #6041ea;
$custom-light: #9c79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6041ea",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 251.006,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.23798,
    "h": 282.7
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#6041EA
secondary
#D9E5A2
accent
#F731D2
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6041EA

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

Preview Lab → · Contrast checker → · Palette generator →

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