#6B249C#6B249C

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

Color values

HEX#6B249C
RGBrgb(107, 36, 156)
HSLhsl(276, 63%, 38%)
HSVhsv(276, 77%, 61%)
CMYKcmyk(31.4%, 76.9%, 0%, 38.8%)
CIE-LABlab(31.32, 51.61, -51.51)
CIE-LCHlch(31.32, 72.92, 315.06°)
OKLaboklab(43.12% 0.1106 -0.1464)
OKLCHoklch(43.12% 0.183 307.1)
XYZxyz(12.6937, 6.7880, 32.0875)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B249C #559C24
analogous
#2F249C #6B249C #9C2491
triadic
#6B249C #9C6B24 #249C6B
tetradic
#6B249C #9C2F24 #559C24 #24919C
square
#6B249C #9C2F24 #559C24 #24919C
split-complementary
#6B249C #919C24 #249C2F
monochromatic
#270D39 #49196A #6B249C #8D2FCE #A860DA

Accessibility & contrast

On white

8.91
#6B249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B249C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B249C#FFFFFF#000000##FFFFFF
##6B249C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#63425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b249c;
/* rgb */ color: rgb(107, 36, 156);
/* oklch */ color: oklch(43.1% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#9a67ba',
    500: '#6b249c',
    950: '#000000',
  },
}
SCSS
$custom: #6b249c;
$custom-light: #9a67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b249c",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 275.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.18348,
    "h": 307.1
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#6B249C
secondary
#85BF5C
accent
#E64285
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B249C

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

Preview Lab → · Contrast checker → · Palette generator →

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