#6B2DB3#6B2DB3

#6B2DB3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.197 H 299.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6B2DB3
RGBrgb(107, 45, 179)
HSLhsl(268, 60%, 44%)
HSVhsv(268, 75%, 70%)
CMYKcmyk(40.2%, 74.9%, 0%, 29.8%)
CIE-LABlab(34.51, 53.29, -60.14)
CIE-LCHlch(34.51, 80.35, 311.55°)
OKLaboklab(45.94% 0.0971 -0.1718)
OKLCHoklch(45.94% 0.197 299.5)
XYZxyz(15.1364, 8.2571, 43.4354)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DB3 #75B32D
analogous
#2D32B3 #6B2DB3 #AE2DB3
triadic
#6B2DB3 #B36B2D #2DB36B
tetradic
#6B2DB3 #B32D32 #75B32D #2DB3AE
square
#6B2DB3 #B32D32 #75B32D #2DB3AE
split-complementary
#6B2DB3 #B3AE2D #32B32D
monochromatic
#311451 #4E2182 #6B2DB3 #8A4BD2 #AA7CDE

Accessibility & contrast

On white

7.92
#6B2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6B2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DB3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DB3#FFFFFF#000000##FFFFFF
##6B2DB31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#5A506E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2db3;
/* rgb */ color: rgb(107, 45, 179);
/* oklch */ color: oklch(45.9% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#9c6ccb',
    500: '#6b2db3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2db3;
$custom-light: #9c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2db3",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 267.761,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.19738,
    "h": 299.5
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#6B2DB3
secondary
#A1C775
accent
#E3459A
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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