#6A259F#6A259F

#6A259F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 305.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6A259F
RGBrgb(106, 37, 159)
HSLhsl(274, 62%, 38%)
HSVhsv(274, 77%, 62%)
CMYKcmyk(33.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(31.56, 51.72, -52.95)
CIE-LCHlch(31.56, 74.02, 314.32°)
OKLaboklab(43.33% 0.1076 -0.1507)
OKLCHoklch(43.33% 0.185 305.5)
XYZxyz(12.8620, 6.8906, 33.4466)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A259F #5A9F25
analogous
#2D259F #6A259F #9F2597
triadic
#6A259F #9F6A25 #259F6A
tetradic
#6A259F #9F2D25 #5A9F25 #25979F
square
#6A259F #9F2D25 #5A9F25 #25979F
split-complementary
#6A259F #979F25 #259F2D
monochromatic
#280E3C #49196D #6A259F #8B32CF #A764DB

Accessibility & contrast

On white

8.83
#6A259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A259F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A259F#FFFFFF#000000##FFFFFF
##6A259F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#604461
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a259f;
/* rgb */ color: rgb(106, 37, 159);
/* oklch */ color: oklch(43.3% 0.185 305.5);
Tailwind
colors: {
  custom: {
    50: '#9a67bc',
    500: '#6a259f',
    950: '#000000',
  },
}
SCSS
$custom: #6a259f;
$custom-light: #9a67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a259f",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 273.934,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.18515,
    "h": 305.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#6A259F
secondary
#8AC05F
accent
#E54289
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A259F

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

Preview Lab → · Contrast checker → · Palette generator →

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