#6A3BE7#6A3BE7

#6A3BE7 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.239 H 287.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6A3BE7
RGBrgb(106, 59, 231)
HSLhsl(256, 78%, 57%)
HSVhsv(256, 74%, 91%)
CMYKcmyk(54.1%, 74.5%, 0%, 9.4%)
CIE-LABlab(41.15, 60.31, -79.44)
CIE-LCHlch(41.15, 99.74, 307.20°)
OKLaboklab(51.97% 0.0714 -0.2286)
OKLCHoklch(51.97% 0.239 287.3)
XYZxyz(21.9273, 11.9605, 76.7390)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BE7 #B8E73B
analogous
#3B62E7 #6A3BE7 #C03BE7
triadic
#6A3BE7 #E76A3B #3BE76A
tetradic
#6A3BE7 #E73B62 #B8E73B #3BE7C0
square
#6A3BE7 #E73B62 #B8E73B #3BE7C0
split-complementary
#6A3BE7 #E7C03B #62E73B
monochromatic
#361295 #4A19CC #6A3BE7 #9372EE #BDA8F4

Accessibility & contrast

On white

6.19
#6A3BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6A3BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BE7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BE7#FFFFFF#000000##FFFFFF
##6A3BE71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#346B8F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a3be7;
/* rgb */ color: rgb(106, 59, 231);
/* oklch */ color: oklch(52.0% 0.239 287.3);
Tailwind
colors: {
  custom: {
    50: '#a176f0',
    500: '#6a3be7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3be7;
$custom-light: #a176f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3be7",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 231
  },
  "hsl": {
    "h": 256.395,
    "s": 78.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.23947,
    "h": 287.3
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#6A3BE7
secondary
#CFE29C
accent
#F533C0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6A3BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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