#6C259E#6C259E

#6C259E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.185 H 306.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6C259E
RGBrgb(108, 37, 158)
HSLhsl(275, 62%, 38%)
HSVhsv(275, 77%, 62%)
CMYKcmyk(31.6%, 76.6%, 0%, 38%)
CIE-LABlab(31.76, 51.85, -52.00)
CIE-LCHlch(31.76, 73.43, 314.92°)
OKLaboklab(43.51% 0.1106 -0.1478)
OKLCHoklch(43.51% 0.185 306.8)
XYZxyz(13.0161, 6.9801, 33.0027)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C259E #579E25
analogous
#30259E #6C259E #9E2593
triadic
#6C259E #9E6C25 #259E6C
tetradic
#6C259E #9E3025 #579E25 #25939E
square
#6C259E #9E3025 #579E25 #25939E
split-complementary
#6C259E #939E25 #259E30
monochromatic
#280E3B #4A196C #6C259E #8E31CF #A963DA

Accessibility & contrast

On white

8.76
#6C259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C259E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C259E#FFFFFF#000000##FFFFFF
##6C259E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#634360
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c259e;
/* rgb */ color: rgb(108, 37, 158);
/* oklch */ color: oklch(43.5% 0.185 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b67bb',
    500: '#6c259e',
    950: '#000000',
  },
}
SCSS
$custom: #6c259e;
$custom-light: #9b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c259e",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 275.207,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43508,
    "c": 0.18465,
    "h": 306.8
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#6C259E
secondary
#87C05F
accent
#E54386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C259E

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

Preview Lab → · Contrast checker → · Palette generator →

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