#6D2EB3#6D2EB3

#6D2EB3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.197 H 300.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB3
RGBrgb(109, 46, 179)
HSLhsl(268, 59%, 44%)
HSVhsv(268, 74%, 70%)
CMYKcmyk(39.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(34.92, 53.20, -59.46)
CIE-LCHlch(34.92, 79.78, 311.82°)
OKLaboklab(46.29% 0.0991 -0.1698)
OKLCHoklch(46.29% 0.197 300.3)
XYZxyz(15.4183, 8.4597, 43.4597)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB3 #74B32E
analogous
#2E32B3 #6D2EB3 #B02EB3
triadic
#6D2EB3 #B36D2E #2EB36D
tetradic
#6D2EB3 #B32E32 #74B32E #2EB3B0
square
#6D2EB3 #B32E32 #74B32E #2EB3B0
split-complementary
#6D2EB3 #B3B02E #32B32E
monochromatic
#321552 #4F2182 #6D2EB3 #8C4DD1 #AB7EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2EB3#FFFFFF#000000##FFFFFF
##6D2EB31.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)
#0052B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#5D506E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2eb3;
/* rgb */ color: rgb(109, 46, 179);
/* oklch */ color: oklch(46.3% 0.197 300.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dcb',
    500: '#6d2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb3;
$custom-light: #9d6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb3",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 268.421,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.1966,
    "h": 300.3
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#6D2EB3
secondary
#A1C676
accent
#E24698
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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