#6142AD#6142AD

#6142AD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.2% C 0.163 H 292.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6142AD
RGBrgb(97, 66, 173)
HSLhsl(257, 45%, 47%)
HSVhsv(257, 62%, 68%)
CMYKcmyk(43.9%, 61.8%, 0%, 32.2%)
CIE-LABlab(36.84, 38.88, -52.83)
CIE-LCHlch(36.84, 65.60, 306.35°)
OKLaboklab(47.21% 0.062 -0.1508)
OKLCHoklch(47.21% 0.163 292.4)
XYZxyz(14.4187, 9.4545, 40.5923)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6142AD #8EAD42
analogous
#4259AD #6142AD #9742AD
triadic
#6142AD #AD6142 #42AD61
tetradic
#6142AD #AD4259 #8EAD42 #42AD97
square
#6142AD #AD4259 #8EAD42 #42AD97
split-complementary
#6142AD #AD9742 #59AD42
monochromatic
#2F2054 #483181 #6142AD #8267C5 #A793D6

Accessibility & contrast

On white

7.26
#6142AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6142AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6142AD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6142AD#FFFFFF#000000##FFFFFF
##6142AD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#4B5A71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6142ad;
/* rgb */ color: rgb(97, 66, 173);
/* oklch */ color: oklch(47.2% 0.163 292.4);
Tailwind
colors: {
  custom: {
    50: '#9378c6',
    500: '#6142ad',
    950: '#000000',
  },
}
SCSS
$custom: #6142ad;
$custom-light: #9378c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6142ad",
  "rgb": {
    "r": 97,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 257.383,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.16303,
    "h": 292.4
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#6142AD
secondary
#B1C189
accent
#D453AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6142AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6142AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva