#6A2597#6A2597

#6A2597 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.177 H 308.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6A2597
RGBrgb(106, 37, 151)
HSLhsl(276, 61%, 37%)
HSVhsv(276, 75%, 59%)
CMYKcmyk(29.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(30.93, 49.87, -49.09)
CIE-LCHlch(30.93, 69.98, 315.45°)
OKLaboklab(42.69% 0.1092 -0.1394)
OKLCHoklch(42.69% 0.177 308.1)
XYZxyz(12.1902, 6.6219, 29.9081)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2597 #529725
analogous
#312597 #6A2597 #97258B
triadic
#6A2597 #976A25 #25976A
tetradic
#6A2597 #973125 #529725 #258B97
square
#6A2597 #973125 #529725 #258B97
split-complementary
#6A2597 #8B9725 #259731
monochromatic
#250D35 #471966 #6A2597 #8D31C8 #A85FD8

Accessibility & contrast

On white

9.03
#6A2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6A2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2597
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2597#FFFFFF#000000##FFFFFF
##6A25971.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#63405C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a2597;
/* rgb */ color: rgb(106, 37, 151);
/* oklch */ color: oklch(42.7% 0.177 308.1);
Tailwind
colors: {
  custom: {
    50: '#9967b6',
    500: '#6a2597',
    950: '#000000',
  },
}
SCSS
$custom: #6a2597;
$custom-light: #9967b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2597",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 276.316,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.17707,
    "h": 308.1
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#6A2597
secondary
#82BD5B
accent
#E44483
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2597

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

Preview Lab → · Contrast checker → · Palette generator →

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