#6C418B#6C418B

#6C418B is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.9% C 0.123 H 309.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6C418B
RGBrgb(108, 65, 139)
HSLhsl(275, 36%, 40%)
HSVhsv(275, 53%, 55%)
CMYKcmyk(22.3%, 53.2%, 0%, 45.5%)
CIE-LABlab(35.66, 33.17, -34.14)
CIE-LCHlch(35.66, 47.60, 314.18°)
OKLaboklab(45.92% 0.0779 -0.0956)
OKLCHoklch(45.92% 0.123 309.2)
XYZxyz(12.7339, 8.8330, 25.4552)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C418B #608B41
analogous
#47418B #6C418B #8B4185
triadic
#6C418B #8B6C41 #418B6C
tetradic
#6C418B #8B4741 #608B41 #41858B
square
#6C418B #8B4741 #608B41 #41858B
split-complementary
#6C418B #858B41 #418B47
monochromatic
#2B1A38 #4C2D61 #6C418B #8C58B1 #A982C5

Accessibility & contrast

On white

7.59
#6C418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6C418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C418B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C418B#FFFFFF#000000##FFFFFF
##6C418B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#684E60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c418b;
/* rgb */ color: rgb(108, 65, 139);
/* oklch */ color: oklch(45.9% 0.123 309.2);
Tailwind
colors: {
  custom: {
    50: '#9877ad',
    500: '#6c418b',
    950: '#000000',
  },
}
SCSS
$custom: #6c418b;
$custom-light: #9877ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c418b",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 274.865,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.12333,
    "h": 309.2
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#6C418B
secondary
#8FAF79
accent
#CC5C8B
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6C418B

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

Preview Lab → · Contrast checker → · Palette generator →

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