#6C259D#6C259D

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

Color values

HEX#6C259D
RGBrgb(108, 37, 157)
HSLhsl(276, 62%, 38%)
HSVhsv(276, 76%, 62%)
CMYKcmyk(31.2%, 76.4%, 0%, 38.4%)
CIE-LABlab(31.68, 51.62, -51.52)
CIE-LCHlch(31.68, 72.93, 315.06°)
OKLaboklab(43.43% 0.1109 -0.1464)
OKLCHoklch(43.43% 0.184 307.1)
XYZxyz(12.9304, 6.9458, 32.5512)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C259D #569D25
analogous
#30259D #6C259D #9D2592
triadic
#6C259D #9D6C25 #259D6C
tetradic
#6C259D #9D3025 #569D25 #25929D
square
#6C259D #9D3025 #569D25 #25929D
split-complementary
#6C259D #929D25 #259D30
monochromatic
#280E3A #4A196B #6C259D #8E31CE #A962DA

Accessibility & contrast

On white

8.79
#6C259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6C259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C259D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C259D#FFFFFF#000000##FFFFFF
##6C259D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#644260
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c259d;
/* rgb */ color: rgb(108, 37, 157);
/* oklch */ color: oklch(43.4% 0.184 307.1);
Tailwind
colors: {
  custom: {
    50: '#9b67bb',
    500: '#6c259d',
    950: '#000000',
  },
}
SCSS
$custom: #6c259d;
$custom-light: #9b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c259d",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 275.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.18365,
    "h": 307.1
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#6C259D
secondary
#86BF5E
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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