#6B2DB7#6B2DB7

#6B2DB7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.202 H 298.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6B2DB7
RGBrgb(107, 45, 183)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 75%, 72%)
CMYKcmyk(41.5%, 75.4%, 0%, 28.2%)
CIE-LABlab(34.85, 54.29, -61.97)
CIE-LCHlch(34.85, 82.38, 311.22°)
OKLaboklab(46.28% 0.0962 -0.1772)
OKLCHoklch(46.28% 0.202 298.5)
XYZxyz(15.5468, 8.4212, 45.5969)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DB7 #79B72D
analogous
#2D34B7 #6B2DB7 #B02DB7
triadic
#6B2DB7 #B76B2D #2DB76B
tetradic
#6B2DB7 #B72D34 #79B72D #2DB7B0
square
#6B2DB7 #B72D34 #79B72D #2DB7B0
split-complementary
#6B2DB7 #B7B02D #34B72D
monochromatic
#321555 #4E2186 #6B2DB7 #8A4ED3 #AA7FDF

Accessibility & contrast

On white

7.82
#6B2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6B2DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DB7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DB7#FFFFFF#000000##FFFFFF
##6B2DB71.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#585170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2db7;
/* rgb */ color: rgb(107, 45, 183);
/* oklch */ color: oklch(46.3% 0.202 298.5);
Tailwind
colors: {
  custom: {
    50: '#9c6cce',
    500: '#6b2db7',
    950: '#000000',
  },
}
SCSS
$custom: #6b2db7;
$custom-light: #9c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2db7",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 266.957,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4628,
    "c": 0.20162,
    "h": 298.5
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#6B2DB7
secondary
#A4C878
accent
#E4449C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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