#6D3293#6D3293

#6D3293 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 309.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6D3293
RGBrgb(109, 50, 147)
HSLhsl(276, 49%, 39%)
HSVhsv(276, 66%, 58%)
CMYKcmyk(25.9%, 66%, 0%, 42.4%)
CIE-LABlab(33.22, 43.55, -42.93)
CIE-LCHlch(33.22, 61.15, 315.41°)
OKLaboklab(44.32% 0.0996 -0.1212)
OKLCHoklch(44.32% 0.157 309.4)
XYZxyz(12.7127, 7.6392, 28.4029)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3293 #589332
analogous
#3C3293 #6D3293 #933288
triadic
#6D3293 #936D32 #32936D
tetradic
#6D3293 #933C32 #589332 #328893
square
#6D3293 #933C32 #589332 #328893
split-complementary
#6D3293 #889332 #32933C
monochromatic
#291338 #4B2265 #6D3293 #8F43BF #AA71CF

Accessibility & contrast

On white

8.31
#6D3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D3293
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3293#FFFFFF#000000##FFFFFF
##6D32931.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#68465E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d3293;
/* rgb */ color: rgb(109, 50, 147);
/* oklch */ color: oklch(44.3% 0.157 309.4);
Tailwind
colors: {
  custom: {
    50: '#9a6eb3',
    500: '#6d3293',
    950: '#000000',
  },
}
SCSS
$custom: #6d3293;
$custom-light: #9a6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3293",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 276.495,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.15688,
    "h": 309.4
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#6D3293
secondary
#88B76A
accent
#D94F85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D3293

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

Preview Lab → · Contrast checker → · Palette generator →

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