#6C249B#6C249B

#6C249B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.183 H 307.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6C249B
RGBrgb(108, 36, 155)
HSLhsl(276, 62%, 37%)
HSVhsv(276, 77%, 61%)
CMYKcmyk(30.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(31.39, 51.57, -50.78)
CIE-LCHlch(31.39, 72.38, 315.44°)
OKLaboklab(43.17% 0.1122 -0.1442)
OKLCHoklch(43.17% 0.183 307.9)
XYZxyz(12.7304, 6.8166, 31.6491)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C249B #539B24
analogous
#31249B #6C249B #9B248E
triadic
#6C249B #9B6C24 #249B6C
tetradic
#6C249B #9B3124 #539B24 #248E9B
square
#6C249B #9B3124 #539B24 #248E9B
split-complementary
#6C249B #8E9B24 #249B31
monochromatic
#270D38 #491869 #6C249B #8F30CD #AA5FDA

Accessibility & contrast

On white

8.89
#6C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6C249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C249B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C249B#FFFFFF#000000##FFFFFF
##6C249B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#64415E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c249b;
/* rgb */ color: rgb(108, 36, 155);
/* oklch */ color: oklch(43.2% 0.183 307.9);
Tailwind
colors: {
  custom: {
    50: '#9b67b9',
    500: '#6c249b',
    950: '#000000',
  },
}
SCSS
$custom: #6c249b;
$custom-light: #9b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c249b",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 276.303,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.18275,
    "h": 307.9
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#6C249B
secondary
#83BF5C
accent
#E54283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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