#6D249B#6D249B

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

Color values

HEX#6D249B
RGBrgb(109, 36, 155)
HSLhsl(277, 62%, 37%)
HSVhsv(277, 77%, 61%)
CMYKcmyk(29.7%, 76.8%, 0%, 39.2%)
CIE-LABlab(31.53, 51.76, -50.54)
CIE-LCHlch(31.53, 72.34, 315.68°)
OKLaboklab(43.3% 0.1136 -0.1435)
OKLCHoklch(43.3% 0.183 308.4)
XYZxyz(12.8527, 6.8797, 31.6548)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D249B #529B24
analogous
#32249B #6D249B #9B248D
triadic
#6D249B #9B6D24 #249B6D
tetradic
#6D249B #9B3224 #529B24 #248D9B
square
#6D249B #9B3224 #529B24 #248D9B
split-complementary
#6D249B #8D9B24 #249B32
monochromatic
#270D38 #4A1869 #6D249B #9030CD #AB5FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6d249b;
/* rgb */ color: rgb(109, 36, 155);
/* oklch */ color: oklch(43.3% 0.183 308.4);
Tailwind
colors: {
  custom: {
    50: '#9c67b9',
    500: '#6d249b',
    950: '#000000',
  },
}
SCSS
$custom: #6d249b;
$custom-light: #9c67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d249b",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 276.807,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.18302,
    "h": 308.4
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#6D249B
secondary
#82BF5C
accent
#E54281
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6D249B

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

Preview Lab → · Contrast checker → · Palette generator →

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