#6B2DB8#6B2DB8

#6B2DB8 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.203 H 298.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6B2DB8
RGBrgb(107, 45, 184)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 72%)
CMYKcmyk(41.8%, 75.5%, 0%, 27.8%)
CIE-LABlab(34.93, 54.53, -62.42)
CIE-LCHlch(34.93, 82.89, 311.14°)
OKLaboklab(46.37% 0.0959 -0.1785)
OKLCHoklch(46.37% 0.203 298.2)
XYZxyz(15.6513, 8.4630, 46.1470)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DB8 #7AB82D
analogous
#2D34B8 #6B2DB8 #B12DB8
triadic
#6B2DB8 #B86B2D #2DB86B
tetradic
#6B2DB8 #B82D34 #7AB82D #2DB8B1
square
#6B2DB8 #B82D34 #7AB82D #2DB8B1
split-complementary
#6B2DB8 #B8B12D #34B82D
monochromatic
#321556 #4E2187 #6B2DB8 #8A4ED4 #AB80E0

Accessibility & contrast

On white

7.80
#6B2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6B2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DB8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DB8#FFFFFF#000000##FFFFFF
##6B2DB81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#585271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2db8;
/* rgb */ color: rgb(107, 45, 184);
/* oklch */ color: oklch(46.4% 0.203 298.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cce',
    500: '#6b2db8',
    950: '#000000',
  },
}
SCSS
$custom: #6b2db8;
$custom-light: #9c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2db8",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 266.763,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.20268,
    "h": 298.2
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#6B2DB8
secondary
#A5C978
accent
#E4449D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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