#6D3EBB#6D3EBB

#6D3EBB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.186 H 296.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6D3EBB
RGBrgb(109, 62, 187)
HSLhsl(263, 50%, 49%)
HSVhsv(263, 67%, 73%)
CMYKcmyk(41.7%, 66.8%, 0%, 26.7%)
CIE-LABlab(38.35, 47.44, -58.61)
CIE-LCHlch(38.35, 75.40, 308.99°)
OKLaboklab(48.92% 0.0818 -0.1674)
OKLCHoklch(48.92% 0.186 296)
XYZxyz(16.9966, 10.2840, 48.0936)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EBB #8CBB3E
analogous
#3E4EBB #6D3EBB #AC3EBB
triadic
#6D3EBB #BB6D3E #3EBB6D
tetradic
#6D3EBB #BB3E4E #8CBB3E #3EBBAC
square
#6D3EBB #BB3E4E #8CBB3E #3EBBAC
split-complementary
#6D3EBB #BBAC3E #4EBB3E
monochromatic
#37205F #522F8D #6D3EBB #8F69CD #B197DC

Accessibility & contrast

On white

6.87
#6D3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6D3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EBB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EBB#FFFFFF#000000##FFFFFF
##6D3EBB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#595C77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d3ebb;
/* rgb */ color: rgb(109, 62, 187);
/* oklch */ color: oklch(48.9% 0.186 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d76d0',
    500: '#6d3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ebb;
$custom-light: #9d76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ebb",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 262.56,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.18627,
    "h": 296
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#6D3EBB
secondary
#B2C88D
accent
#DA4EA5
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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