#6C249E#6C249E

#6C249E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.186 H 306.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6C249E
RGBrgb(108, 36, 158)
HSLhsl(275, 63%, 38%)
HSVhsv(275, 77%, 62%)
CMYKcmyk(31.6%, 77.2%, 0%, 38%)
CIE-LABlab(31.62, 52.26, -52.23)
CIE-LCHlch(31.62, 73.88, 315.02°)
OKLaboklab(43.41% 0.1116 -0.1485)
OKLCHoklch(43.41% 0.186 306.9)
XYZxyz(12.9854, 6.9187, 32.9925)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C249E #569E24
analogous
#2F249E #6C249E #9E2493
triadic
#6C249E #9E6C24 #249E6C
tetradic
#6C249E #9E2F24 #569E24 #24939E
square
#6C249E #9E2F24 #569E24 #24939E
split-complementary
#6C249E #939E24 #249E2F
monochromatic
#280D3A #4A196C #6C249E #8E2FD0 #A961DB

Accessibility & contrast

On white

8.81
#6C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C249E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C249E#FFFFFF#000000##FFFFFF
##6C249E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#634260
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c249e;
/* rgb */ color: rgb(108, 36, 158);
/* oklch */ color: oklch(43.4% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#9b67bb',
    500: '#6c249e',
    950: '#000000',
  },
}
SCSS
$custom: #6c249e;
$custom-light: #9b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c249e",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 275.41,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43409,
    "c": 0.18572,
    "h": 306.9
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#6C249E
secondary
#86C05E
accent
#E64285
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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