#6D259B#6D259B

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

Color values

HEX#6D259B
RGBrgb(109, 37, 155)
HSLhsl(277, 61%, 38%)
HSVhsv(277, 76%, 61%)
CMYKcmyk(29.7%, 76.1%, 0%, 39.2%)
CIE-LABlab(31.67, 51.36, -50.31)
CIE-LCHlch(31.67, 71.90, 315.59°)
OKLaboklab(43.4% 0.1127 -0.1428)
OKLCHoklch(43.4% 0.182 308.3)
XYZxyz(12.8834, 6.9411, 31.6651)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D259B #539B25
analogous
#32259B #6D259B #9B258E
triadic
#6D259B #9B6D25 #259B6D
tetradic
#6D259B #9B3225 #539B25 #258E9B
square
#6D259B #9B3225 #539B25 #258E9B
split-complementary
#6D259B #8E9B25 #259B32
monochromatic
#280D38 #4A196A #6D259B #9031CC #AA61D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D259B#FFFFFF#000000##FFFFFF
##6D259B1.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)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#66415E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d259b;
/* rgb */ color: rgb(109, 37, 155);
/* oklch */ color: oklch(43.4% 0.182 308.3);
Tailwind
colors: {
  custom: {
    50: '#9b67b9',
    500: '#6d259b',
    950: '#000000',
  },
}
SCSS
$custom: #6d259b;
$custom-light: #9b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d259b",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 276.61,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.18193,
    "h": 308.3
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#6D259B
secondary
#83BF5D
accent
#E54382
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6D259B

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

Preview Lab → · Contrast checker → · Palette generator →

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