#6D2895#6D2895

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

Color values

HEX#6D2895
RGBrgb(109, 40, 149)
HSLhsl(278, 58%, 37%)
HSVhsv(278, 73%, 58%)
CMYKcmyk(26.8%, 73.2%, 0%, 41.6%)
CIE-LABlab(31.67, 48.73, -46.66)
CIE-LCHlch(31.67, 67.47, 316.25°)
OKLaboklab(43.26% 0.1107 -0.1321)
OKLCHoklch(43.26% 0.172 310)
XYZxyz(12.4892, 6.9390, 29.1094)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2895 #509528
analogous
#372895 #6D2895 #952887
triadic
#6D2895 #956D28 #28956D
tetradic
#6D2895 #953728 #509528 #288795
square
#6D2895 #953728 #509528 #288795
split-complementary
#6D2895 #879528 #289537
monochromatic
#260E35 #4A1B65 #6D2895 #9035C5 #AB62D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2895#FFFFFF#000000##FFFFFF
##6D28951.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)
#004898
Deuteranopia (green-blind)
#124C93
Tritanopia (blue-blind)
#67415C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d2895;
/* rgb */ color: rgb(109, 40, 149);
/* oklch */ color: oklch(43.3% 0.172 310.0);
Tailwind
colors: {
  custom: {
    50: '#9b69b5',
    500: '#6d2895',
    950: '#000000',
  },
}
SCSS
$custom: #6d2895;
$custom-light: #9b69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2895",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 277.982,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.17238,
    "h": 310
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#6D2895
secondary
#80BB5E
accent
#E1477F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2895

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

Preview Lab → · Contrast checker → · Palette generator →

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