#6A3EBD#6A3EBD

#6A3EBD is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.188 H 294.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6A3EBD
RGBrgb(106, 62, 189)
HSLhsl(261, 51%, 49%)
HSVhsv(261, 67%, 74%)
CMYKcmyk(43.9%, 67.2%, 0%, 25.9%)
CIE-LABlab(38.17, 47.39, -60.09)
CIE-LCHlch(38.17, 76.53, 308.26°)
OKLaboklab(48.77% 0.0773 -0.1718)
OKLCHoklch(48.77% 0.188 294.2)
XYZxyz(16.8493, 10.1831, 49.2120)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EBD #91BD3E
analogous
#3E52BD #6A3EBD #AA3EBD
triadic
#6A3EBD #BD6A3E #3EBD6A
tetradic
#6A3EBD #BD3E52 #91BD3E #3EBDAA
square
#6A3EBD #BD3E52 #91BD3E #3EBDAA
split-complementary
#6A3EBD #BDAA3E #52BD3E
monochromatic
#362061 #502F8F #6A3EBD #8D6ACE #B098DD

Accessibility & contrast

On white

6.92
#6A3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6A3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EBD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EBD#FFFFFF#000000##FFFFFF
##6A3EBD1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#535D78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3ebd;
/* rgb */ color: rgb(106, 62, 189);
/* oklch */ color: oklch(48.8% 0.188 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b76d2',
    500: '#6a3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ebd;
$custom-light: #9b76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ebd",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 260.787,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.18839,
    "h": 294.2
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#6A3EBD
secondary
#B4C98E
accent
#DA4EA9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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