#6D3294#6D3294

#6D3294 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.158 H 309.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6D3294
RGBrgb(109, 50, 148)
HSLhsl(276, 49%, 39%)
HSVhsv(276, 66%, 58%)
CMYKcmyk(26.4%, 66.2%, 0%, 42%)
CIE-LABlab(33.29, 43.78, -43.43)
CIE-LCHlch(33.29, 61.67, 315.23°)
OKLaboklab(44.39% 0.0995 -0.1227)
OKLCHoklch(44.39% 0.158 309)
XYZxyz(12.7915, 7.6708, 28.8180)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3294 #599432
analogous
#3C3294 #6D3294 #94328A
triadic
#6D3294 #946D32 #32946D
tetradic
#6D3294 #943C32 #599432 #328A94
square
#6D3294 #943C32 #599432 #328A94
split-complementary
#6D3294 #8A9432 #32943C
monochromatic
#2A1339 #4B2366 #6D3294 #8E44C0 #AA71CF

Accessibility & contrast

On white

8.29
#6D3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3294
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3294#FFFFFF#000000##FFFFFF
##6D32941.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#67465E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d3294;
/* rgb */ color: rgb(109, 50, 148);
/* oklch */ color: oklch(44.4% 0.158 309.0);
Tailwind
colors: {
  custom: {
    50: '#9a6eb4',
    500: '#6d3294',
    950: '#000000',
  },
}
SCSS
$custom: #6d3294;
$custom-light: #9a6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3294",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 276.122,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44394,
    "c": 0.15799,
    "h": 309
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#6D3294
secondary
#89B76B
accent
#D94F86
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D3294

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

Preview Lab → · Contrast checker → · Palette generator →

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