#6A259C#6A259C

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

Color values

HEX#6A259C
RGBrgb(106, 37, 156)
HSLhsl(275, 62%, 38%)
HSVhsv(275, 76%, 61%)
CMYKcmyk(32.1%, 76.3%, 0%, 38.8%)
CIE-LABlab(31.32, 51.02, -51.52)
CIE-LCHlch(31.32, 72.50, 314.72°)
OKLaboklab(43.09% 0.1082 -0.1465)
OKLCHoklch(43.09% 0.182 306.5)
XYZxyz(12.6049, 6.7877, 32.0922)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A259C #579C25
analogous
#2F259C #6A259C #9C2592
triadic
#6A259C #9C6A25 #259C6A
tetradic
#6A259C #9C2F25 #579C25 #25929C
square
#6A259C #9C2F25 #579C25 #25929C
split-complementary
#6A259C #929C25 #259C2F
monochromatic
#270E39 #48196B #6A259C #8C31CD #A762DA

Accessibility & contrast

On white

8.91
#6A259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A259C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A259C#FFFFFF#000000##FFFFFF
##6A259C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#61425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a259c;
/* rgb */ color: rgb(106, 37, 156);
/* oklch */ color: oklch(43.1% 0.182 306.5);
Tailwind
colors: {
  custom: {
    50: '#9a67ba',
    500: '#6a259c',
    950: '#000000',
  },
}
SCSS
$custom: #6a259c;
$custom-light: #9a67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a259c",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 274.79,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.18213,
    "h": 306.5
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#6A259C
secondary
#87BF5E
accent
#E54387
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A259C

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

Preview Lab → · Contrast checker → · Palette generator →

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