#6C309F#6C309F

#6C309F is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.172 H 305.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6C309F
RGBrgb(108, 48, 159)
HSLhsl(272, 54%, 41%)
HSVhsv(272, 70%, 62%)
CMYKcmyk(32.1%, 69.8%, 0%, 37.6%)
CIE-LABlab(33.57, 47.18, -49.67)
CIE-LCHlch(33.57, 68.50, 313.53°)
OKLaboklab(44.82% 0.0993 -0.141)
OKLCHoklch(44.82% 0.173 305.2)
XYZxyz(13.4979, 7.8053, 33.5897)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C309F #639F30
analogous
#34309F #6C309F #9F309A
triadic
#6C309F #9F6C30 #309F6C
tetradic
#6C309F #9F3430 #639F30 #309A9F
square
#6C309F #9F3430 #639F30 #309A9F
split-complementary
#6C309F #9A9F30 #309F34
monochromatic
#2C1441 #4C2270 #6C309F #8B45C7 #A974D5

Accessibility & contrast

On white

8.20
#6C309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6C309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C309F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C309F#FFFFFF#000000##FFFFFF
##6C309F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#634964
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c309f;
/* rgb */ color: rgb(108, 48, 159);
/* oklch */ color: oklch(44.8% 0.172 305.2);
Tailwind
colors: {
  custom: {
    50: '#9a6dbc',
    500: '#6c309f',
    950: '#000000',
  },
}
SCSS
$custom: #6c309f;
$custom-light: #9a6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c309f",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 272.432,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.1725,
    "h": 305.2
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#6C309F
secondary
#92BD6E
accent
#DD4B8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6C309F

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

Preview Lab → · Contrast checker → · Palette generator →

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