#6A259E#6A259E

#6A259E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.184 H 305.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6A259E
RGBrgb(106, 37, 158)
HSLhsl(274, 62%, 38%)
HSVhsv(274, 77%, 62%)
CMYKcmyk(32.9%, 76.6%, 0%, 38%)
CIE-LABlab(31.48, 51.48, -52.47)
CIE-LCHlch(31.48, 73.51, 314.45°)
OKLaboklab(43.25% 0.1078 -0.1493)
OKLCHoklch(43.25% 0.184 305.8)
XYZxyz(12.7756, 6.8560, 32.9914)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A259E #599E25
analogous
#2E259E #6A259E #9E2595
triadic
#6A259E #9E6A25 #259E6A
tetradic
#6A259E #9E2E25 #599E25 #25959E
square
#6A259E #9E2E25 #599E25 #25959E
split-complementary
#6A259E #959E25 #259E2E
monochromatic
#270E3B #49196C #6A259E #8B31CF #A763DA

Accessibility & contrast

On white

8.86
#6A259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A259E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A259E#FFFFFF#000000##FFFFFF
##6A259E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a259e;
/* rgb */ color: rgb(106, 37, 158);
/* oklch */ color: oklch(43.2% 0.184 305.8);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6a259e',
    950: '#000000',
  },
}
SCSS
$custom: #6a259e;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a259e",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 274.215,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.18415,
    "h": 305.8
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#6A259E
secondary
#89C05F
accent
#E54388
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A259E

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

Preview Lab → · Contrast checker → · Palette generator →

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