#6A3DA0#6A3DA0

#6A3DA0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.155 H 301.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6A3DA0
RGBrgb(106, 61, 160)
HSLhsl(267, 45%, 43%)
HSVhsv(267, 62%, 63%)
CMYKcmyk(33.7%, 61.9%, 0%, 37.3%)
CIE-LABlab(35.87, 40.21, -46.58)
CIE-LCHlch(35.87, 61.54, 310.81°)
OKLaboklab(46.44% 0.0811 -0.1321)
OKLCHoklch(46.44% 0.155 301.6)
XYZxyz(13.9563, 8.9397, 34.2412)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DA0 #73A03D
analogous
#3D41A0 #6A3DA0 #9B3DA0
triadic
#6A3DA0 #A06A3D #3DA06A
tetradic
#6A3DA0 #A03D41 #73A03D #3DA09B
square
#6A3DA0 #A03D41 #73A03D #3DA09B
split-complementary
#6A3DA0 #A09B3D #41A03D
monochromatic
#2F1B47 #4D2C74 #6A3DA0 #885AC0 #A886D1

Accessibility & contrast

On white

7.53
#6A3DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3DA0
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DA0#FFFFFF#000000##FFFFFF
##6A3DA01.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#1E549E
Tritanopia (blue-blind)
#5F5268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a3da0;
/* rgb */ color: rgb(106, 61, 160);
/* oklch */ color: oklch(46.4% 0.155 301.6);
Tailwind
colors: {
  custom: {
    50: '#9875bd',
    500: '#6a3da0',
    950: '#000000',
  },
}
SCSS
$custom: #6a3da0;
$custom-light: #9875bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3da0",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 267.273,
    "s": 44.796,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46438,
    "c": 0.15502,
    "h": 301.6
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#6A3DA0
secondary
#9FBB7D
accent
#D4539A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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