#6A249A#6A249A

#6A249A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.181 H 307.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6A249A
RGBrgb(106, 36, 154)
HSLhsl(276, 62%, 37%)
HSVhsv(276, 77%, 60%)
CMYKcmyk(31.2%, 76.6%, 0%, 39.6%)
CIE-LABlab(31.02, 50.97, -50.79)
CIE-LCHlch(31.02, 71.95, 315.10°)
OKLaboklab(42.83% 0.1096 -0.1443)
OKLCHoklch(42.83% 0.181 307.2)
XYZxyz(12.4062, 6.6592, 31.1974)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A249A #549A24
analogous
#2F249A #6A249A #9A248F
triadic
#6A249A #9A6A24 #249A6A
tetradic
#6A249A #9A2F24 #549A24 #248F9A
square
#6A249A #9A2F24 #549A24 #248F9A
split-complementary
#6A249A #8F9A24 #249A2F
monochromatic
#260D37 #481868 #6A249A #8C30CC #A85FDA

Accessibility & contrast

On white

9.01
#6A249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6A249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A249A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A249A#FFFFFF#000000##FFFFFF
##6A249A1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#62415E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a249a;
/* rgb */ color: rgb(106, 36, 154);
/* oklch */ color: oklch(42.8% 0.181 307.2);
Tailwind
colors: {
  custom: {
    50: '#9966b9',
    500: '#6a249a',
    950: '#000000',
  },
}
SCSS
$custom: #6a249a;
$custom-light: #9966b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a249a",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 275.593,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.18122,
    "h": 307.2
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#6A249A
secondary
#84BF5B
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A249A

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

Preview Lab → · Contrast checker → · Palette generator →

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