#6142AE#6142AE

#6142AE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.3% C 0.164 H 292.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6142AE
RGBrgb(97, 66, 174)
HSLhsl(257, 45%, 47%)
HSVhsv(257, 62%, 68%)
CMYKcmyk(44.3%, 62.1%, 0%, 31.8%)
CIE-LABlab(36.92, 39.17, -53.31)
CIE-LCHlch(36.92, 66.15, 306.31°)
OKLaboklab(47.29% 0.062 -0.1522)
OKLCHoklch(47.29% 0.164 292.2)
XYZxyz(14.5159, 9.4934, 41.1038)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6142AE #8FAE42
analogous
#4259AE #6142AE #9742AE
triadic
#6142AE #AE6142 #42AE61
tetradic
#6142AE #AE4259 #8FAE42 #42AE97
square
#6142AE #AE4259 #8FAE42 #42AE97
split-complementary
#6142AE #AE9742 #59AE42
monochromatic
#302055 #483182 #6142AE #8368C6 #A794D6

Accessibility & contrast

On white

7.24
#6142AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6142AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6142AE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6142AE#FFFFFF#000000##FFFFFF
##6142AE1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#4B5B72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6142ae;
/* rgb */ color: rgb(97, 66, 174);
/* oklch */ color: oklch(47.3% 0.164 292.2);
Tailwind
colors: {
  custom: {
    50: '#9478c7',
    500: '#6142ae',
    950: '#000000',
  },
}
SCSS
$custom: #6142ae;
$custom-light: #9478c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6142ae",
  "rgb": {
    "r": 97,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 257.222,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.16431,
    "h": 292.2
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#6142AE
secondary
#B2C28A
accent
#D553AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6142AE

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

Preview Lab → · Contrast checker → · Palette generator →

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