#6B3EA2#6B3EA2

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

Color values

HEX#6B3EA2
RGBrgb(107, 62, 162)
HSLhsl(267, 45%, 44%)
HSVhsv(267, 62%, 64%)
CMYKcmyk(34%, 61.7%, 0%, 36.5%)
CIE-LABlab(36.33, 40.42, -47.04)
CIE-LCHlch(36.33, 62.02, 310.67°)
OKLaboklab(46.84% 0.0812 -0.1334)
OKLCHoklch(46.84% 0.156 301.3)
XYZxyz(14.3061, 9.1796, 35.1936)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EA2 #75A23E
analogous
#3E43A2 #6B3EA2 #9D3EA2
triadic
#6B3EA2 #A26B3E #3EA26B
tetradic
#6B3EA2 #A23E43 #75A23E #3EA29D
square
#6B3EA2 #A23E43 #75A23E #3EA29D
split-complementary
#6B3EA2 #A29D3E #43A23E
monochromatic
#311C49 #4E2D76 #6B3EA2 #8A5CC1 #AA89D2

Accessibility & contrast

On white

7.40
#6B3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6B3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EA2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EA2#FFFFFF#000000##FFFFFF
##6B3EA21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#60536A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b3ea2;
/* rgb */ color: rgb(107, 62, 162);
/* oklch */ color: oklch(46.8% 0.156 301.3);
Tailwind
colors: {
  custom: {
    50: '#9975be',
    500: '#6b3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ea2;
$custom-light: #9975be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ea2",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 267,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.15616,
    "h": 301.3
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#6B3EA2
secondary
#A1BC80
accent
#D4539A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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