#6041A2#6041A2

#6041A2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.1% C 0.150 H 294.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6041A2
RGBrgb(96, 65, 162)
HSLhsl(259, 43%, 45%)
HSVhsv(259, 60%, 64%)
CMYKcmyk(40.7%, 59.9%, 0%, 36.5%)
CIE-LABlab(35.74, 36.12, -48.04)
CIE-LCHlch(35.74, 60.10, 306.94°)
OKLaboklab(46.13% 0.0623 -0.1367)
OKLCHoklch(46.13% 0.15 294.5)
XYZxyz(13.2340, 8.8757, 35.1913)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041A2 #83A241
analogous
#4153A2 #6041A2 #9141A2
triadic
#6041A2 #A26041 #41A260
tetradic
#6041A2 #A24153 #83A241 #41A291
square
#6041A2 #A24153 #83A241 #41A291
split-complementary
#6041A2 #A29141 #53A241
monochromatic
#2C1E4B #462F76 #6041A2 #7F61BF #A28CD1

Accessibility & contrast

On white

7.57
#6041A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6041A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041A2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041A2#FFFFFF#000000##FFFFFF
##6041A21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#4F566B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6041a2;
/* rgb */ color: rgb(96, 65, 162);
/* oklch */ color: oklch(46.1% 0.150 294.5);
Tailwind
colors: {
  custom: {
    50: '#9277be',
    500: '#6041a2',
    950: '#000000',
  },
}
SCSS
$custom: #6041a2;
$custom-light: #9277be;
$custom-dark: #000000;
JSON
{
  "hex": "#6041a2",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 259.175,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.15025,
    "h": 294.5
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#6041A2
secondary
#AABC83
accent
#D355AA
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #6041A2

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

Preview Lab → · Contrast checker → · Palette generator →

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