#6C249D#6C249D

#6C249D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 307.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6C249D
RGBrgb(108, 36, 157)
HSLhsl(276, 63%, 38%)
HSVhsv(276, 77%, 62%)
CMYKcmyk(31.2%, 77.1%, 0%, 38.4%)
CIE-LABlab(31.54, 52.03, -51.75)
CIE-LCHlch(31.54, 73.38, 315.15°)
OKLaboklab(43.33% 0.1118 -0.1471)
OKLCHoklch(43.33% 0.185 307.2)
XYZxyz(12.8997, 6.8844, 32.5410)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C249D #559D24
analogous
#2F249D #6C249D #9D2492
triadic
#6C249D #9D6C24 #249D6C
tetradic
#6C249D #9D2F24 #559D24 #24929D
square
#6C249D #9D2F24 #559D24 #24929D
split-complementary
#6C249D #929D24 #249D2F
monochromatic
#280D39 #4A196B #6C249D #8E2FCF #A961DB

Accessibility & contrast

On white

8.84
#6C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C249D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C249D#FFFFFF#000000##FFFFFF
##6C249D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#64425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c249d;
/* rgb */ color: rgb(108, 36, 157);
/* oklch */ color: oklch(43.3% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#9b67bb',
    500: '#6c249d',
    950: '#000000',
  },
}
SCSS
$custom: #6c249d;
$custom-light: #9b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c249d",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 275.702,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43329,
    "c": 0.18473,
    "h": 307.2
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#6C249D
secondary
#85C05D
accent
#E64284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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