#6A249B#6A249B

#6A249B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.182 H 306.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6A249B
RGBrgb(106, 36, 155)
HSLhsl(275, 62%, 37%)
HSVhsv(275, 77%, 61%)
CMYKcmyk(31.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(31.10, 51.20, -51.27)
CIE-LCHlch(31.10, 72.45, 314.96°)
OKLaboklab(42.91% 0.1094 -0.1457)
OKLCHoklch(42.91% 0.182 306.9)
XYZxyz(12.4899, 6.6926, 31.6378)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A249B #559B24
analogous
#2E249B #6A249B #9B2491
triadic
#6A249B #9B6A24 #249B6A
tetradic
#6A249B #9B2E24 #559B24 #24919B
square
#6A249B #9B2E24 #559B24 #24919B
split-complementary
#6A249B #919B24 #249B2E
monochromatic
#260D38 #481869 #6A249B #8C30CD #A85FDA

Accessibility & contrast

On white

8.98
#6A249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6A249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A249B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A249B#FFFFFF#000000##FFFFFF
##6A249B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a249b;
/* rgb */ color: rgb(106, 36, 155);
/* oklch */ color: oklch(42.9% 0.182 306.9);
Tailwind
colors: {
  custom: {
    50: '#9967b9',
    500: '#6a249b',
    950: '#000000',
  },
}
SCSS
$custom: #6a249b;
$custom-light: #9967b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a249b",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 275.294,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.18222,
    "h": 306.9
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#6A249B
secondary
#85BF5C
accent
#E54286
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A249B

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

Preview Lab → · Contrast checker → · Palette generator →

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