#6A2595#6A2595

#6A2595 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.175 H 308.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6A2595
RGBrgb(106, 37, 149)
HSLhsl(277, 60%, 36%)
HSVhsv(277, 75%, 58%)
CMYKcmyk(28.9%, 75.2%, 0%, 41.6%)
CIE-LABlab(30.78, 49.41, -48.12)
CIE-LCHlch(30.78, 68.97, 315.76°)
OKLaboklab(42.53% 0.1096 -0.1365)
OKLCHoklch(42.53% 0.175 308.8)
XYZxyz(12.0291, 6.5574, 29.0600)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2595 #509525
analogous
#322595 #6A2595 #952588
triadic
#6A2595 #956A25 #25956A
tetradic
#6A2595 #953225 #509525 #258895
square
#6A2595 #953225 #509525 #258895
split-complementary
#6A2595 #889525 #259532
monochromatic
#240D33 #471964 #6A2595 #8D31C6 #A85ED7

Accessibility & contrast

On white

9.09
#6A2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6A2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2595
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2595#FFFFFF#000000##FFFFFF
##6A25951.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#014993
Tritanopia (blue-blind)
#633F5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2595;
/* rgb */ color: rgb(106, 37, 149);
/* oklch */ color: oklch(42.5% 0.175 308.8);
Tailwind
colors: {
  custom: {
    50: '#9967b5',
    500: '#6a2595',
    950: '#000000',
  },
}
SCSS
$custom: #6a2595;
$custom-light: #9967b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2595",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 276.964,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.17506,
    "h": 308.8
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#6A2595
secondary
#80BC5A
accent
#E34481
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2595

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

Preview Lab → · Contrast checker → · Palette generator →

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