#6D259D#6D259D

#6D259D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.184 H 307.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6D259D
RGBrgb(109, 37, 157)
HSLhsl(276, 62%, 38%)
HSVhsv(276, 76%, 62%)
CMYKcmyk(30.6%, 76.4%, 0%, 38.4%)
CIE-LABlab(31.83, 51.81, -51.28)
CIE-LCHlch(31.83, 72.90, 315.30°)
OKLaboklab(43.56% 0.1123 -0.1457)
OKLCHoklch(43.56% 0.184 307.6)
XYZxyz(13.0528, 7.0089, 32.5570)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D259D #559D25
analogous
#31259D #6D259D #9D2591
triadic
#6D259D #9D6D25 #259D6D
tetradic
#6D259D #9D3125 #559D25 #25919D
square
#6D259D #9D3125 #559D25 #25919D
split-complementary
#6D259D #919D25 #259D31
monochromatic
#280E3A #4B196B #6D259D #8F31CE #AA62DA

Accessibility & contrast

On white

8.74
#6D259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D259D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D259D#FFFFFF#000000##FFFFFF
##6D259D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d259d;
/* rgb */ color: rgb(109, 37, 157);
/* oklch */ color: oklch(43.6% 0.184 307.6);
Tailwind
colors: {
  custom: {
    50: '#9c67bb',
    500: '#6d259d',
    950: '#000000',
  },
}
SCSS
$custom: #6d259d;
$custom-light: #9c67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d259d",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 276,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.18392,
    "h": 307.6
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#6D259D
secondary
#85BF5E
accent
#E54384
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D259D

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

Preview Lab → · Contrast checker → · Palette generator →

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