#6A249D#6A249D

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

Color values

HEX#6A249D
RGBrgb(106, 36, 157)
HSLhsl(275, 63%, 38%)
HSVhsv(275, 77%, 62%)
CMYKcmyk(32.5%, 77.1%, 0%, 38.4%)
CIE-LABlab(31.26, 51.66, -52.23)
CIE-LCHlch(31.26, 73.46, 314.69°)
OKLaboklab(43.07% 0.1089 -0.1486)
OKLCHoklch(43.07% 0.184 306.3)
XYZxyz(12.6592, 6.7604, 32.5297)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A249D #579D24
analogous
#2E249D #6A249D #9D2493
triadic
#6A249D #9D6A24 #249D6A
tetradic
#6A249D #9D2E24 #579D24 #24939D
square
#6A249D #9D2E24 #579D24 #24939D
split-complementary
#6A249D #939D24 #249D2E
monochromatic
#270D39 #48196B #6A249D #8C2FCF #A761DB

Accessibility & contrast

On white

8.93
#6A249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A249D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A249D#FFFFFF#000000##FFFFFF
##6A249D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#61425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a249d;
/* rgb */ color: rgb(106, 36, 157);
/* oklch */ color: oklch(43.1% 0.184 306.3);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6a249d',
    950: '#000000',
  },
}
SCSS
$custom: #6a249d;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a249d",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 274.711,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.18422,
    "h": 306.3
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#6A249D
secondary
#87C05D
accent
#E64287
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A249D

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

Preview Lab → · Contrast checker → · Palette generator →

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