#6C259B#6C259B

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

Color values

HEX#6C259B
RGBrgb(108, 37, 155)
HSLhsl(276, 61%, 38%)
HSVhsv(276, 76%, 61%)
CMYKcmyk(30.3%, 76.1%, 0%, 39.2%)
CIE-LABlab(31.53, 51.17, -50.55)
CIE-LCHlch(31.53, 71.93, 315.35°)
OKLaboklab(43.27% 0.1113 -0.1436)
OKLCHoklch(43.27% 0.182 307.8)
XYZxyz(12.7611, 6.8780, 31.6593)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C259B #549B25
analogous
#31259B #6C259B #9B258F
triadic
#6C259B #9B6C25 #259B6C
tetradic
#6C259B #9B3125 #549B25 #258F9B
square
#6C259B #9B3125 #549B25 #258F9B
split-complementary
#6C259B #8F9B25 #259B31
monochromatic
#270D38 #4A196A #6C259B #8E31CC #A961D9

Accessibility & contrast

On white

8.84
#6C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C259B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C259B#FFFFFF#000000##FFFFFF
##6C259B1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#64425E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c259b;
/* rgb */ color: rgb(108, 37, 155);
/* oklch */ color: oklch(43.3% 0.182 307.8);
Tailwind
colors: {
  custom: {
    50: '#9b67b9',
    500: '#6c259b',
    950: '#000000',
  },
}
SCSS
$custom: #6c259b;
$custom-light: #9b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c259b",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 276.102,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.18164,
    "h": 307.8
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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