#6C2DAF#6C2DAF

#6C2DAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.193 H 301.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6C2DAF
RGBrgb(108, 45, 175)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 74%, 69%)
CMYKcmyk(38.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(34.31, 52.48, -58.08)
CIE-LCHlch(34.31, 78.27, 312.10°)
OKLaboklab(45.73% 0.0995 -0.1657)
OKLCHoklch(45.73% 0.193 301)
XYZxyz(14.8587, 8.1600, 41.3413)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DAF #70AF2D
analogous
#2D2FAF #6C2DAF #AD2DAF
triadic
#6C2DAF #AF6C2D #2DAF6C
tetradic
#6C2DAF #AF2D2F #70AF2D #2DAFAD
square
#6C2DAF #AF2D2F #70AF2D #2DAFAD
split-complementary
#6C2DAF #AFAD2D #2FAF2D
monochromatic
#30144E #4E207E #6C2DAF #8B49D0 #AA7ADD

Accessibility & contrast

On white

7.98
#6C2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6C2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DAF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DAF#FFFFFF#000000##FFFFFF
##6C2DAF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.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: #6c2daf;
/* rgb */ color: rgb(108, 45, 175);
/* oklch */ color: oklch(45.7% 0.193 301.0);
Tailwind
colors: {
  custom: {
    50: '#9c6cc8',
    500: '#6c2daf',
    950: '#000000',
  },
}
SCSS
$custom: #6c2daf;
$custom-light: #9c6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2daf",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 269.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.19331,
    "h": 301
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#6C2DAF
secondary
#9DC573
accent
#E24696
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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