#6B3EAF#6B3EAF

#6B3EAF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.172 H 297.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6B3EAF
RGBrgb(107, 62, 175)
HSLhsl(264, 48%, 46%)
HSVhsv(264, 65%, 69%)
CMYKcmyk(38.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(37.24, 43.83, -53.33)
CIE-LCHlch(37.24, 69.04, 309.42°)
OKLaboklab(47.79% 0.0803 -0.1519)
OKLCHoklch(47.79% 0.172 297.9)
XYZxyz(15.5219, 9.6660, 41.5971)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EAF #82AF3E
analogous
#3E4AAF #6B3EAF #A43EAF
triadic
#6B3EAF #AF6B3E #3EAF6B
tetradic
#6B3EAF #AF3E4A #82AF3E #3EAFA4
square
#6B3EAF #AF3E4A #82AF3E #3EAFA4
split-complementary
#6B3EAF #AFA43E #4AAF3E
monochromatic
#341E55 #4F2E82 #6B3EAF #8B63C8 #AC90D8

Accessibility & contrast

On white

7.16
#6B3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EAF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EAF#FFFFFF#000000##FFFFFF
##6B3EAF1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#5B5871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3eaf;
/* rgb */ color: rgb(107, 62, 175);
/* oklch */ color: oklch(47.8% 0.172 297.9);
Tailwind
colors: {
  custom: {
    50: '#9a76c8',
    500: '#6b3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6b3eaf;
$custom-light: #9a76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3eaf",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 263.894,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.17185,
    "h": 297.9
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#6B3EAF
secondary
#ABC386
accent
#D751A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6B3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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