#6A2593#6A2593

#6A2593 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 309.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6A2593
RGBrgb(106, 37, 147)
HSLhsl(278, 60%, 36%)
HSVhsv(278, 75%, 58%)
CMYKcmyk(27.9%, 74.8%, 0%, 42.4%)
CIE-LABlab(30.63, 48.95, -47.13)
CIE-LCHlch(30.63, 67.96, 316.08°)
OKLaboklab(42.38% 0.11 -0.1336)
OKLCHoklch(42.38% 0.173 309.5)
XYZxyz(11.8708, 6.4941, 28.2262)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2593 #4E9325
analogous
#332593 #6A2593 #932585
triadic
#6A2593 #936A25 #25936A
tetradic
#6A2593 #933325 #4E9325 #258593
square
#6A2593 #933325 #4E9325 #258593
split-complementary
#6A2593 #859325 #259333
monochromatic
#230C31 #471962 #6A2593 #8D31C4 #A95CD6

Accessibility & contrast

On white

9.14
#6A2593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6A2593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2593
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2593#FFFFFF#000000##FFFFFF
##6A25931.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#084991
Tritanopia (blue-blind)
#643F5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2593;
/* rgb */ color: rgb(106, 37, 147);
/* oklch */ color: oklch(42.4% 0.173 309.5);
Tailwind
colors: {
  custom: {
    50: '#9967b3',
    500: '#6a2593',
    950: '#000000',
  },
}
SCSS
$custom: #6a2593;
$custom-light: #9967b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2593",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 277.636,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.17304,
    "h": 309.5
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#6A2593
secondary
#7DBB59
accent
#E34580
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2593

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

Preview Lab → · Contrast checker → · Palette generator →

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