#6D259C#6D259C

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

Color values

HEX#6D259C
RGBrgb(109, 37, 156)
HSLhsl(276, 62%, 38%)
HSVhsv(276, 76%, 61%)
CMYKcmyk(30.1%, 76.3%, 0%, 38.8%)
CIE-LABlab(31.75, 51.59, -50.80)
CIE-LCHlch(31.75, 72.40, 315.44°)
OKLaboklab(43.48% 0.1125 -0.1443)
OKLCHoklch(43.48% 0.183 307.9)
XYZxyz(12.9677, 6.9748, 32.1092)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D259C #549C25
analogous
#32259C #6D259C #9C258F
triadic
#6D259C #9C6D25 #259C6D
tetradic
#6D259C #9C3225 #549C25 #258F9C
square
#6D259C #9C3225 #549C25 #258F9C
split-complementary
#6D259C #8F9C25 #259C32
monochromatic
#280E39 #4A196B #6D259C #9031CD #AA62DA

Accessibility & contrast

On white

8.77
#6D259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D259C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D259C#FFFFFF#000000##FFFFFF
##6D259C1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#65425F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d259c;
/* rgb */ color: rgb(109, 37, 156);
/* oklch */ color: oklch(43.5% 0.183 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c67ba',
    500: '#6d259c',
    950: '#000000',
  },
}
SCSS
$custom: #6d259c;
$custom-light: #9c67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d259c",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 276.303,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.18292,
    "h": 307.9
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#6D259C
secondary
#84BF5E
accent
#E54383
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6D259C

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

Preview Lab → · Contrast checker → · Palette generator →

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