#6A2392#6A2392

#6A2392 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.174 H 310.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6A2392
RGBrgb(106, 35, 146)
HSLhsl(278, 61%, 35%)
HSVhsv(278, 76%, 57%)
CMYKcmyk(27.4%, 76%, 0%, 42.7%)
CIE-LABlab(30.26, 49.56, -47.11)
CIE-LCHlch(30.26, 68.38, 316.45°)
OKLaboklab(42.1% 0.1121 -0.1335)
OKLCHoklch(42.1% 0.174 310)
XYZxyz(11.7322, 6.3418, 27.7946)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2392 #4B9223
analogous
#322392 #6A2392 #922383
triadic
#6A2392 #926A23 #23926A
tetradic
#6A2392 #923223 #4B9223 #238392
square
#6A2392 #923223 #4B9223 #238392
split-complementary
#6A2392 #839223 #239232
monochromatic
#220B2F #461761 #6A2392 #8E2FC3 #A958D7

Accessibility & contrast

On white

9.26
#6A2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6A2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2392
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2392#FFFFFF#000000##FFFFFF
##6A23921.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#064890
Tritanopia (blue-blind)
#643D59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2392;
/* rgb */ color: rgb(106, 35, 146);
/* oklch */ color: oklch(42.1% 0.174 310.0);
Tailwind
colors: {
  custom: {
    50: '#9966b3',
    500: '#6a2392',
    950: '#000000',
  },
}
SCSS
$custom: #6a2392;
$custom-light: #9966b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2392",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 278.378,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.17436,
    "h": 310
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#6A2392
secondary
#7ABB55
accent
#E4437D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2392

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

Preview Lab → · Contrast checker → · Palette generator →

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