#6141EA#6141EA

#6141EA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.238 H 283.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6141EA
RGBrgb(97, 65, 234)
HSLhsl(251, 80%, 59%)
HSVhsv(251, 72%, 92%)
CMYKcmyk(58.5%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.63, 57.04, -80.40)
CIE-LCHlch(41.63, 98.57, 305.36°)
OKLaboklab(52.18% 0.0538 -0.2317)
OKLCHoklch(52.18% 0.238 283.1)
XYZxyz(21.6667, 12.2611, 79.0508)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141EA #CAEA41
analogous
#4175EA #6141EA #B541EA
triadic
#6141EA #EA6141 #41EA61
tetradic
#6141EA #EA4175 #CAEA41 #41EAB5
square
#6141EA #EA4175 #CAEA41 #41EAB5
split-complementary
#6141EA #EAB541 #75EA41
monochromatic
#2C129F #3C18D6 #6141EA #8F78F0 #BDAFF6

Accessibility & contrast

On white

6.08
#6141EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6141EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141EA#FFFFFF#000000##FFFFFF
##6141EA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.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: #6141ea;
/* rgb */ color: rgb(97, 65, 234);
/* oklch */ color: oklch(52.2% 0.238 283.1);
Tailwind
colors: {
  custom: {
    50: '#9c79f2',
    500: '#6141ea',
    950: '#000000',
  },
}
SCSS
$custom: #6141ea;
$custom-light: #9c79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6141ea",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 251.361,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.23784,
    "h": 283.1
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#6141EA
secondary
#D8E5A2
accent
#F731D1
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6141EA

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

Preview Lab → · Contrast checker → · Palette generator →

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