#6B3BDA#6B3BDA

#6B3BDA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.225 H 289.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6B3BDA
RGBrgb(107, 59, 218)
HSLhsl(258, 68%, 54%)
HSVhsv(258, 73%, 85%)
CMYKcmyk(50.9%, 72.9%, 0%, 14.5%)
CIE-LABlab(40.11, 56.93, -73.74)
CIE-LCHlch(40.11, 93.16, 307.67°)
OKLaboklab(50.9% 0.076 -0.2118)
OKLCHoklch(50.9% 0.225 289.7)
XYZxyz(20.2786, 11.3148, 67.4315)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BDA #AADA3B
analogous
#3B5BDA #6B3BDA #BA3BDA
triadic
#6B3BDA #DA6B3B #3BDA6B
tetradic
#6B3BDA #DA3B5B #AADA3B #3BDABA
square
#6B3BDA #DA3B5B #AADA3B #3BDABA
split-complementary
#6B3BDA #DABA3B #5BDA3B
monochromatic
#381982 #4F22B6 #6B3BDA #926EE4 #B9A2ED

Accessibility & contrast

On white

6.44
#6B3BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6B3BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3BDA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BDA#FFFFFF#000000##FFFFFF
##6B3BDA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#436687
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b3bda;
/* rgb */ color: rgb(107, 59, 218);
/* oklch */ color: oklch(50.9% 0.225 289.7);
Tailwind
colors: {
  custom: {
    50: '#a076e7',
    500: '#6b3bda',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bda;
$custom-light: #a076e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bda",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 258.113,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.22506,
    "h": 289.7
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#6B3BDA
secondary
#C6DA97
accent
#EB3DB6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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