#6B2DCE#6B2DCE

#6B2DCE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.226 H 293.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6B2DCE
RGBrgb(107, 45, 206)
HSLhsl(263, 64%, 49%)
HSVhsv(263, 78%, 81%)
CMYKcmyk(48.1%, 78.2%, 0%, 19.2%)
CIE-LABlab(36.85, 60.06, -72.16)
CIE-LCHlch(36.85, 93.88, 309.77°)
OKLaboklab(48.3% 0.0899 -0.2071)
OKLCHoklch(48.3% 0.226 293.5)
XYZxyz(18.1393, 9.4582, 59.2504)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DCE #90CE2D
analogous
#2D3FCE #6B2DCE #BC2DCE
triadic
#6B2DCE #CE6B2D #2DCE6B
tetradic
#6B2DCE #CE2D3F #90CE2D #2DCEBC
square
#6B2DCE #CE2D3F #90CE2D #2DCEBC
split-complementary
#6B2DCE #CEBC2D #3FCE2D
monochromatic
#37176A #51229C #6B2DCE #8E5DDC #B18FE7

Accessibility & contrast

On white

7.26
#6B2DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B2DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DCE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DCE#FFFFFF#000000##FFFFFF
##6B2DCE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#4C5B7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b2dce;
/* rgb */ color: rgb(107, 45, 206);
/* oklch */ color: oklch(48.3% 0.226 293.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ede',
    500: '#6b2dce',
    950: '#000000',
  },
}
SCSS
$custom: #6b2dce;
$custom-light: #9f6ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2dce",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 263.106,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.22576,
    "h": 293.5
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#6B2DCE
secondary
#B4D186
accent
#E741A7
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6B2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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