#6D2EB9#6D2EB9

#6D2EB9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.203 H 298.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB9
RGBrgb(109, 46, 185)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 73%)
CMYKcmyk(41.1%, 75.1%, 0%, 27.5%)
CIE-LABlab(35.42, 54.68, -62.21)
CIE-LCHlch(35.42, 82.82, 311.31°)
OKLaboklab(46.79% 0.0977 -0.1778)
OKLCHoklch(46.79% 0.203 298.8)
XYZxyz(16.0384, 8.7078, 46.7253)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB9 #7AB92E
analogous
#2E35B9 #6D2EB9 #B22EB9
triadic
#6D2EB9 #B96D2E #2EB96D
tetradic
#6D2EB9 #B92E35 #7AB92E #2EB9B2
square
#6D2EB9 #B92E35 #7AB92E #2EB9B2
split-complementary
#6D2EB9 #B9B22E #35B92E
monochromatic
#331657 #502288 #6D2EB9 #8C51D4 #AC82E0

Accessibility & contrast

On white

7.66
#6D2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6D2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EB9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB9#FFFFFF#000000##FFFFFF
##6D2EB91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#5A5272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2eb9;
/* rgb */ color: rgb(109, 46, 185);
/* oklch */ color: oklch(46.8% 0.203 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e6dcf',
    500: '#6d2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb9;
$custom-light: #9e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb9",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 267.194,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.20293,
    "h": 298.8
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#6D2EB9
secondary
#A5C97A
accent
#E3449B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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