#6C2EBD#6C2EBD

#6C2EBD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.207 H 297.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6C2EBD
RGBrgb(108, 46, 189)
HSLhsl(266, 61%, 46%)
HSVhsv(266, 76%, 74%)
CMYKcmyk(42.9%, 75.7%, 0%, 25.9%)
CIE-LABlab(35.63, 55.51, -64.23)
CIE-LCHlch(35.63, 84.89, 310.84°)
OKLaboklab(47.01% 0.0953 -0.1838)
OKLCHoklch(47.01% 0.207 297.4)
XYZxyz(16.3442, 8.8159, 48.9748)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EBD #7FBD2E
analogous
#2E37BD #6C2EBD #B32EBD
triadic
#6C2EBD #BD6C2E #2EBD6C
tetradic
#6C2EBD #BD2E37 #7FBD2E #2EBDB3
square
#6C2EBD #BD2E37 #7FBD2E #2EBDB3
split-complementary
#6C2EBD #BDB32E #37BD2E
monochromatic
#34165B #50228C #6C2EBD #8B53D5 #AD84E1

Accessibility & contrast

On white

7.60
#6C2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6C2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EBD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EBD#FFFFFF#000000##FFFFFF
##6C2EBD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#575474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c2ebd;
/* rgb */ color: rgb(108, 46, 189);
/* oklch */ color: oklch(47.0% 0.207 297.4);
Tailwind
colors: {
  custom: {
    50: '#9d6dd2',
    500: '#6c2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ebd;
$custom-light: #9d6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ebd",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 266.014,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.20703,
    "h": 297.4
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#6C2EBD
secondary
#A9CA7C
accent
#E4449F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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