#6C2EAF#6C2EAF

#6C2EAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.192 H 300.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6C2EAF
RGBrgb(108, 46, 175)
HSLhsl(269, 58%, 43%)
HSVhsv(269, 74%, 69%)
CMYKcmyk(38.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(34.47, 52.03, -57.82)
CIE-LCHlch(34.47, 77.78, 311.98°)
OKLaboklab(45.84% 0.0986 -0.165)
OKLCHoklch(45.84% 0.192 300.9)
XYZxyz(14.8973, 8.2372, 41.3542)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EAF #71AF2E
analogous
#2E31AF #6C2EAF #AC2EAF
triadic
#6C2EAF #AF6C2E #2EAF6C
tetradic
#6C2EAF #AF2E31 #71AF2E #2EAFAC
square
#6C2EAF #AF2E31 #71AF2E #2EAFAC
split-complementary
#6C2EAF #AFAC2E #31AF2E
monochromatic
#30154E #4E217F #6C2EAF #8B4BD0 #AA7BDC

Accessibility & contrast

On white

7.93
#6C2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6C2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EAF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EAF#FFFFFF#000000##FFFFFF
##6C2EAF1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5D4E6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2eaf;
/* rgb */ color: rgb(108, 46, 175);
/* oklch */ color: oklch(45.8% 0.192 300.9);
Tailwind
colors: {
  custom: {
    50: '#9c6dc8',
    500: '#6c2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6c2eaf;
$custom-light: #9c6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2eaf",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 268.837,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.19218,
    "h": 300.9
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#6C2EAF
secondary
#9EC574
accent
#E24697
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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