#6D2EB5#6D2EB5

#6D2EB5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.199 H 299.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB5
RGBrgb(109, 46, 181)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(39.8%, 74.6%, 0%, 29%)
CIE-LABlab(35.09, 53.69, -60.38)
CIE-LCHlch(35.09, 80.80, 311.64°)
OKLaboklab(46.45% 0.0987 -0.1725)
OKLCHoklch(46.45% 0.199 299.8)
XYZxyz(15.6221, 8.5412, 44.5327)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB5 #76B52E
analogous
#2E33B5 #6D2EB5 #B12EB5
triadic
#6D2EB5 #B56D2E #2EB56D
tetradic
#6D2EB5 #B52E33 #76B52E #2EB5B1
square
#6D2EB5 #B52E33 #76B52E #2EB5B1
split-complementary
#6D2EB5 #B5B12E #33B52E
monochromatic
#321553 #502284 #6D2EB5 #8C4ED2 #AC7FDE

Accessibility & contrast

On white

7.75
#6D2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6D2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EB5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB5#FFFFFF#000000##FFFFFF
##6D2EB51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#5C516F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2eb5;
/* rgb */ color: rgb(109, 46, 181);
/* oklch */ color: oklch(46.5% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d6dcc',
    500: '#6d2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb5;
$custom-light: #9d6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb5",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 268,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.19871,
    "h": 299.8
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#6D2EB5
secondary
#A2C778
accent
#E34599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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