#6A359D#6A359D

#6A359D is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.163 H 304.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6A359D
RGBrgb(106, 53, 157)
HSLhsl(271, 50%, 41%)
HSVhsv(271, 66%, 62%)
CMYKcmyk(32.5%, 66.2%, 0%, 38.4%)
CIE-LABlab(34.08, 43.75, -47.66)
CIE-LCHlch(34.08, 64.69, 312.55°)
OKLaboklab(45.08% 0.0911 -0.1352)
OKLCHoklch(45.08% 0.163 304)
XYZxyz(13.3014, 8.0447, 32.7438)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A359D #689D35
analogous
#36359D #6A359D #9D359C
triadic
#6A359D #9D6A35 #359D6A
tetradic
#6A359D #9D3635 #689D35 #359C9D
square
#6A359D #9D3635 #689D35 #359C9D
split-complementary
#6A359D #9C9D35 #359D36
monochromatic
#2C1641 #4B266F #6A359D #894CC3 #A77AD2

Accessibility & contrast

On white

8.05
#6A359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6A359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A359D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A359D#FFFFFF#000000##FFFFFF
##6A359D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#604C64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a359d;
/* rgb */ color: rgb(106, 53, 157);
/* oklch */ color: oklch(45.1% 0.163 304.0);
Tailwind
colors: {
  custom: {
    50: '#9970bb',
    500: '#6a359d',
    950: '#000000',
  },
}
SCSS
$custom: #6a359d;
$custom-light: #9970bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a359d",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 270.577,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.16303,
    "h": 304
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#6A359D
secondary
#96BB73
accent
#D94F93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A359D

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

Preview Lab → · Contrast checker → · Palette generator →

#6A359D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva