#6141BA#6141BA

#6141BA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.181 H 290.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6141BA
RGBrgb(97, 65, 186)
HSLhsl(256, 48%, 49%)
HSVhsv(256, 65%, 73%)
CMYKcmyk(47.8%, 65.1%, 0%, 27.1%)
CIE-LABlab(37.60, 43.19, -59.29)
CIE-LCHlch(37.60, 73.35, 306.07°)
OKLaboklab(48.07% 0.062 -0.1698)
OKLCHoklch(48.07% 0.181 290.1)
XYZxyz(15.6805, 9.8665, 47.5231)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141BA #9ABA41
analogous
#415EBA #6141BA #9E41BA
triadic
#6141BA #BA6141 #41BA61
tetradic
#6141BA #BA415E #9ABA41 #41BA9E
square
#6141BA #BA415E #9ABA41 #41BA9E
split-complementary
#6141BA #BA9E41 #5EBA41
monochromatic
#32215F #49318D #6141BA #866CCC #AB9ADC

Accessibility & contrast

On white

7.06
#6141BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6141BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6141BA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141BA#FFFFFF#000000##FFFFFF
##6141BA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#445E78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6141ba;
/* rgb */ color: rgb(97, 65, 186);
/* oklch */ color: oklch(48.1% 0.181 290.1);
Tailwind
colors: {
  custom: {
    50: '#9577d0',
    500: '#6141ba',
    950: '#000000',
  },
}
SCSS
$custom: #6141ba;
$custom-light: #9577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6141ba",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 255.868,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48065,
    "c": 0.18074,
    "h": 290.1
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#6141BA
secondary
#B9C88F
accent
#D850B4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6141BA

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

Preview Lab → · Contrast checker → · Palette generator →

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