#6342A3#6342A3

#6342A3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.7% C 0.150 H 295.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6342A3
RGBrgb(99, 66, 163)
HSLhsl(260, 42%, 45%)
HSVhsv(260, 60%, 64%)
CMYKcmyk(39.3%, 59.5%, 0%, 36.1%)
CIE-LABlab(36.35, 36.51, -47.64)
CIE-LCHlch(36.35, 60.02, 307.47°)
OKLaboklab(46.68% 0.0652 -0.1354)
OKLCHoklch(46.68% 0.15 295.7)
XYZxyz(13.7029, 9.1932, 35.6957)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6342A3 #82A342
analogous
#4252A3 #6342A3 #9342A3
triadic
#6342A3 #A36342 #42A363
tetradic
#6342A3 #A34252 #82A342 #42A393
square
#6342A3 #A34252 #82A342 #42A393
split-complementary
#6342A3 #A39342 #52A342
monochromatic
#2E1F4C #493077 #6342A3 #8263C0 #A58ED1

Accessibility & contrast

On white

7.40
#6342A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6342A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6342A3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6342A3#FFFFFF#000000##FFFFFF
##6342A31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A6
Deuteranopia (green-blind)
#1854A1
Tritanopia (blue-blind)
#53576C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6342a3;
/* rgb */ color: rgb(99, 66, 163);
/* oklch */ color: oklch(46.7% 0.150 295.7);
Tailwind
colors: {
  custom: {
    50: '#9478bf',
    500: '#6342a3',
    950: '#000000',
  },
}
SCSS
$custom: #6342a3;
$custom-light: #9478bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6342a3",
  "rgb": {
    "r": 99,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 260.412,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.15032,
    "h": 295.7
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#6342A3
secondary
#A9BC84
accent
#D256A8
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #6342A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6342A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva