#6B3DAF#6B3DAF

#6B3DAF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.173 H 298.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6B3DAF
RGBrgb(107, 61, 175)
HSLhsl(264, 48%, 46%)
HSVhsv(264, 65%, 69%)
CMYKcmyk(38.9%, 65.1%, 0%, 31.4%)
CIE-LABlab(37.04, 44.37, -53.66)
CIE-LCHlch(37.04, 69.63, 309.59°)
OKLaboklab(47.65% 0.0815 -0.1529)
OKLCHoklch(47.65% 0.173 298.1)
XYZxyz(15.4680, 9.5582, 41.5791)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DAF #81AF3D
analogous
#3D48AF #6B3DAF #A43DAF
triadic
#6B3DAF #AF6B3D #3DAF6B
tetradic
#6B3DAF #AF3D48 #81AF3D #3DAFA4
square
#6B3DAF #AF3D48 #81AF3D #3DAFA4
split-complementary
#6B3DAF #AFA43D #48AF3D
monochromatic
#341D54 #4F2D82 #6B3DAF #8B61C8 #AC8FD8

Accessibility & contrast

On white

7.21
#6B3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B3DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3DAF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DAF#FFFFFF#000000##FFFFFF
##6B3DAF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#5B5770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3daf;
/* rgb */ color: rgb(107, 61, 175);
/* oklch */ color: oklch(47.6% 0.173 298.1);
Tailwind
colors: {
  custom: {
    50: '#9a75c8',
    500: '#6b3daf',
    950: '#000000',
  },
}
SCSS
$custom: #6b3daf;
$custom-light: #9a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3daf",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 264.211,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.17321,
    "h": 298.1
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#6B3DAF
secondary
#AAC385
accent
#D850A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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