#6A3DA1#6A3DA1

#6A3DA1 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.156 H 301.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6A3DA1
RGBrgb(106, 61, 161)
HSLhsl(267, 45%, 44%)
HSVhsv(267, 62%, 63%)
CMYKcmyk(34.2%, 62.1%, 0%, 36.9%)
CIE-LABlab(35.94, 40.47, -47.07)
CIE-LCHlch(35.94, 62.08, 310.69°)
OKLaboklab(46.51% 0.0811 -0.1335)
OKLCHoklch(46.51% 0.156 301.3)
XYZxyz(14.0441, 8.9748, 34.7037)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DA1 #74A13D
analogous
#3D42A1 #6A3DA1 #9C3DA1
triadic
#6A3DA1 #A16A3D #3DA16A
tetradic
#6A3DA1 #A13D42 #74A13D #3DA19C
square
#6A3DA1 #A13D42 #74A13D #3DA19C
split-complementary
#6A3DA1 #A19C3D #42A13D
monochromatic
#301B48 #4D2C75 #6A3DA1 #885BC1 #A887D1

Accessibility & contrast

On white

7.51
#6A3DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6A3DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3DA1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DA1#FFFFFF#000000##FFFFFF
##6A3DA11.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#1C549F
Tritanopia (blue-blind)
#5F5269
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3da1;
/* rgb */ color: rgb(106, 61, 161);
/* oklch */ color: oklch(46.5% 0.156 301.3);
Tailwind
colors: {
  custom: {
    50: '#9875bd',
    500: '#6a3da1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3da1;
$custom-light: #9875bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3da1",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 267,
    "s": 45.045,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46509,
    "c": 0.15623,
    "h": 301.3
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#6A3DA1
secondary
#A0BC7E
accent
#D5539A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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