#6D3BB8#6D3BB8

#6D3BB8 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.187 H 297.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6D3BB8
RGBrgb(109, 59, 184)
HSLhsl(264, 51%, 48%)
HSVhsv(264, 68%, 72%)
CMYKcmyk(40.8%, 67.9%, 0%, 27.8%)
CIE-LABlab(37.55, 48.21, -58.14)
CIE-LCHlch(37.55, 75.52, 309.67°)
OKLaboklab(48.28% 0.0854 -0.166)
OKLCHoklch(48.28% 0.187 297.2)
XYZxyz(16.5201, 9.8395, 46.3669)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3BB8 #86B83B
analogous
#3B48B8 #6D3BB8 #AB3BB8
triadic
#6D3BB8 #B86D3B #3BB86D
tetradic
#6D3BB8 #B83B48 #86B83B #3BB8AB
square
#6D3BB8 #B83B48 #86B83B #3BB8AB
split-complementary
#6D3BB8 #B8AB3B #48B83B
monochromatic
#361D5B #522C8A #6D3BB8 #8E63CD #AF92DC

Accessibility & contrast

On white

7.08
#6D3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6D3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3BB8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3BB8#FFFFFF#000000##FFFFFF
##6D3BB81.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#5A5975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3bb8;
/* rgb */ color: rgb(109, 59, 184);
/* oklch */ color: oklch(48.3% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d74ce',
    500: '#6d3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #6d3bb8;
$custom-light: #9d74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3bb8",
  "rgb": {
    "r": 109,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 264,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.18662,
    "h": 297.2
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#6D3BB8
secondary
#AEC788
accent
#DB4DA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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