#6C309A#6C309A

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

Color values

HEX#6C309A
RGBrgb(108, 48, 154)
HSLhsl(274, 52%, 40%)
HSVhsv(274, 69%, 60%)
CMYKcmyk(29.9%, 68.8%, 0%, 39.6%)
CIE-LABlab(33.21, 45.98, -47.22)
CIE-LCHlch(33.21, 65.91, 314.24°)
OKLaboklab(44.44% 0.0999 -0.1338)
OKLCHoklch(44.44% 0.167 306.7)
XYZxyz(13.0728, 7.6353, 31.3507)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C309A #5E9A30
analogous
#37309A #6C309A #9A3093
triadic
#6C309A #9A6C30 #309A6C
tetradic
#6C309A #9A3730 #5E9A30 #30939A
square
#6C309A #9A3730 #5E9A30 #30939A
split-complementary
#6C309A #939A30 #309A37
monochromatic
#2B133D #4B216B #6C309A #8C43C4 #A972D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C309A#FFFFFF#000000##FFFFFF
##6C309A1.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)
#004C9D
Deuteranopia (green-blind)
#144F98
Tritanopia (blue-blind)
#644761
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c309a;
/* rgb */ color: rgb(108, 48, 154);
/* oklch */ color: oklch(44.4% 0.167 306.7);
Tailwind
colors: {
  custom: {
    50: '#9a6db8',
    500: '#6c309a',
    950: '#000000',
  },
}
SCSS
$custom: #6c309a;
$custom-light: #9a6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c309a",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 273.962,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.16704,
    "h": 306.7
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#6C309A
secondary
#8EBB6B
accent
#DC4C8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C309A

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

Preview Lab → · Contrast checker → · Palette generator →

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