#6D2EBE#6D2EBE

#6D2EBE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.208 H 297.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6D2EBE
RGBrgb(109, 46, 190)
HSLhsl(266, 61%, 46%)
HSVhsv(266, 76%, 75%)
CMYKcmyk(42.6%, 75.8%, 0%, 25.5%)
CIE-LABlab(35.83, 55.92, -64.47)
CIE-LCHlch(35.83, 85.34, 310.94°)
OKLaboklab(47.21% 0.0965 -0.1845)
OKLCHoklch(47.21% 0.208 297.6)
XYZxyz(16.5755, 8.9226, 49.5541)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EBE #7FBE2E
analogous
#2E37BE #6D2EBE #B52EBE
triadic
#6D2EBE #BE6D2E #2EBE6D
tetradic
#6D2EBE #BE2E37 #7FBE2E #2EBEB5
square
#6D2EBE #BE2E37 #7FBE2E #2EBEB5
split-complementary
#6D2EBE #BEB52E #37BE2E
monochromatic
#34165B #51228D #6D2EBE #8C54D6 #AD85E1

Accessibility & contrast

On white

7.54
#6D2EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6D2EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EBE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EBE#FFFFFF#000000##FFFFFF
##6D2EBE1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#585474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d2ebe;
/* rgb */ color: rgb(109, 46, 190);
/* oklch */ color: oklch(47.2% 0.208 297.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dd3',
    500: '#6d2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ebe;
$custom-light: #9e6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ebe",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 266.25,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.20819,
    "h": 297.6
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#6D2EBE
secondary
#A9CB7D
accent
#E4449E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6D2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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