#6A259D#6A259D

#6A259D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.183 H 306.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6A259D
RGBrgb(106, 37, 157)
HSLhsl(275, 62%, 38%)
HSVhsv(275, 76%, 62%)
CMYKcmyk(32.5%, 76.4%, 0%, 38.4%)
CIE-LABlab(31.40, 51.25, -52.00)
CIE-LCHlch(31.40, 73.01, 314.59°)
OKLaboklab(43.17% 0.108 -0.1479)
OKLCHoklch(43.17% 0.183 306.1)
XYZxyz(12.6899, 6.8217, 32.5400)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A259D #589D25
analogous
#2E259D #6A259D #9D2594
triadic
#6A259D #9D6A25 #259D6A
tetradic
#6A259D #9D2E25 #589D25 #25949D
square
#6A259D #9D2E25 #589D25 #25949D
split-complementary
#6A259D #949D25 #259D2E
monochromatic
#270E3A #49196B #6A259D #8B31CE #A762DA

Accessibility & contrast

On white

8.88
#6A259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A259D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A259D#FFFFFF#000000##FFFFFF
##6A259D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#614360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a259d;
/* rgb */ color: rgb(106, 37, 157);
/* oklch */ color: oklch(43.2% 0.183 306.1);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6a259d',
    950: '#000000',
  },
}
SCSS
$custom: #6a259d;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a259d",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 274.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.18314,
    "h": 306.1
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#6A259D
secondary
#88BF5E
accent
#E54388
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A259D

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

Preview Lab → · Contrast checker → · Palette generator →

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