#6D2EB4#6D2EB4

#6D2EB4 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.198 H 300.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB4
RGBrgb(109, 46, 180)
HSLhsl(268, 59%, 44%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(39.4%, 74.4%, 0%, 29.4%)
CIE-LABlab(35.00, 53.44, -59.92)
CIE-LCHlch(35.00, 80.29, 311.73°)
OKLaboklab(46.37% 0.0989 -0.1711)
OKLCHoklch(46.37% 0.198 300)
XYZxyz(15.5198, 8.5003, 43.9942)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB4 #75B42E
analogous
#2E32B4 #6D2EB4 #B02EB4
triadic
#6D2EB4 #B46D2E #2EB46D
tetradic
#6D2EB4 #B42E32 #75B42E #2EB4B0
square
#6D2EB4 #B42E32 #75B42E #2EB4B0
split-complementary
#6D2EB4 #B4B02E #32B42E
monochromatic
#321553 #4F2283 #6D2EB4 #8C4ED2 #AB7EDE

Accessibility & contrast

On white

7.78
#6D2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6D2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EB4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB4#FFFFFF#000000##FFFFFF
##6D2EB41.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#5D506F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2eb4;
/* rgb */ color: rgb(109, 46, 180);
/* oklch */ color: oklch(46.4% 0.198 300.0);
Tailwind
colors: {
  custom: {
    50: '#9d6dcb',
    500: '#6d2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb4;
$custom-light: #9d6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb4",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 268.209,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.19765,
    "h": 300
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#6D2EB4
secondary
#A1C777
accent
#E24599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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