#6D2597#6D2597

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

Color values

HEX#6D2597
RGBrgb(109, 37, 151)
HSLhsl(278, 61%, 37%)
HSVhsv(278, 75%, 59%)
CMYKcmyk(27.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(31.37, 50.46, -48.36)
CIE-LCHlch(31.37, 69.89, 316.21°)
OKLaboklab(43.09% 0.1134 -0.1371)
OKLCHoklch(43.09% 0.178 309.6)
XYZxyz(12.5530, 6.8090, 29.9251)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2597 #4F9725
analogous
#342597 #6D2597 #972588
triadic
#6D2597 #976D25 #25976D
tetradic
#6D2597 #973425 #4F9725 #258897
square
#6D2597 #973425 #4F9725 #258897
split-complementary
#6D2597 #889725 #259734
monochromatic
#260D35 #4A1966 #6D2597 #9031C8 #AB5FD8

Accessibility & contrast

On white

8.89
#6D2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2597
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2597#FFFFFF#000000##FFFFFF
##6D25971.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#054B95
Tritanopia (blue-blind)
#67405C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d2597;
/* rgb */ color: rgb(109, 37, 151);
/* oklch */ color: oklch(43.1% 0.178 309.6);
Tailwind
colors: {
  custom: {
    50: '#9b67b6',
    500: '#6d2597',
    950: '#000000',
  },
}
SCSS
$custom: #6d2597;
$custom-light: #9b67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2597",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 277.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.17795,
    "h": 309.6
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#6D2597
secondary
#7FBD5B
accent
#E4447F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2597

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

Preview Lab → · Contrast checker → · Palette generator →

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