#6A2394#6A2394

#6A2394 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 309.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6A2394
RGBrgb(106, 35, 148)
HSLhsl(278, 62%, 36%)
HSVhsv(278, 76%, 58%)
CMYKcmyk(28.4%, 76.4%, 0%, 42%)
CIE-LABlab(30.41, 50.01, -48.10)
CIE-LCHlch(30.41, 69.39, 316.12°)
OKLaboklab(42.25% 0.1118 -0.1364)
OKLCHoklch(42.25% 0.176 309.3)
XYZxyz(11.8891, 6.4046, 28.6211)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2394 #4D9423
analogous
#312394 #6A2394 #942385
triadic
#6A2394 #946A23 #23946A
tetradic
#6A2394 #943123 #4D9423 #238594
square
#6A2394 #943123 #4D9423 #238594
split-complementary
#6A2394 #859423 #239431
monochromatic
#230C31 #471763 #6A2394 #8D2FC5 #A95AD8

Accessibility & contrast

On white

9.21
#6A2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6A2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2394
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2394#FFFFFF#000000##FFFFFF
##6A23941.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004992
Tritanopia (blue-blind)
#643E5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2394;
/* rgb */ color: rgb(106, 35, 148);
/* oklch */ color: oklch(42.3% 0.176 309.3);
Tailwind
colors: {
  custom: {
    50: '#9966b4',
    500: '#6a2394',
    950: '#000000',
  },
}
SCSS
$custom: #6a2394;
$custom-light: #9966b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2394",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 277.699,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.17635,
    "h": 309.3
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#6A2394
secondary
#7CBC57
accent
#E5437F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2394

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

Preview Lab → · Contrast checker → · Palette generator →

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