#6041C8#6041C8

#6041C8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.198 H 287.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6041C8
RGBrgb(96, 65, 200)
HSLhsl(254, 55%, 52%)
HSVhsv(254, 68%, 78%)
CMYKcmyk(52%, 67.5%, 0%, 21.6%)
CIE-LABlab(38.62, 47.05, -65.83)
CIE-LCHlch(38.62, 80.92, 305.56°)
OKLaboklab(49.12% 0.0588 -0.189)
OKLCHoklch(49.12% 0.198 287.3)
XYZxyz(17.1364, 10.4367, 55.7439)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041C8 #A9C841
analogous
#4166C8 #6041C8 #A441C8
triadic
#6041C8 #C86041 #41C860
tetradic
#6041C8 #C84166 #A9C841 #41C8A4
square
#6041C8 #C84166 #A9C841 #41C8A4
split-complementary
#6041C8 #C8A441 #66C841
monochromatic
#32206F #482E9E #6041C8 #8870D6 #AFA0E3

Accessibility & contrast

On white

6.80
#6041C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6041C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041C8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041C8#FFFFFF#000000##FFFFFF
##6041C81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#38637F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6041c8;
/* rgb */ color: rgb(96, 65, 200);
/* oklch */ color: oklch(49.1% 0.198 287.3);
Tailwind
colors: {
  custom: {
    50: '#9678da',
    500: '#6041c8',
    950: '#000000',
  },
}
SCSS
$custom: #6041c8;
$custom-light: #9678da;
$custom-dark: #000000;
JSON
{
  "hex": "#6041c8",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 253.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.19795,
    "h": 287.3
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#6041C8
secondary
#C2D095
accent
#DE49BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6041C8

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

Preview Lab → · Contrast checker → · Palette generator →

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