#6D30A5#6D30A5

#6D30A5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.179 H 303.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6D30A5
RGBrgb(109, 48, 165)
HSLhsl(271, 55%, 42%)
HSVhsv(271, 71%, 65%)
CMYKcmyk(33.9%, 70.9%, 0%, 35.3%)
CIE-LABlab(34.15, 48.85, -52.34)
CIE-LCHlch(34.15, 71.59, 313.02°)
OKLaboklab(45.4% 0.0998 -0.1489)
OKLCHoklch(45.4% 0.179 303.8)
XYZxyz(14.1536, 8.0818, 36.4043)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30A5 #68A530
analogous
#3230A5 #6D30A5 #A530A3
triadic
#6D30A5 #A56D30 #30A56D
tetradic
#6D30A5 #A53230 #68A530 #30A3A5
square
#6D30A5 #A53230 #68A530 #30A3A5
split-complementary
#6D30A5 #A3A530 #30A532
monochromatic
#2E1446 #4E2276 #6D30A5 #8C48CA #AA78D8

Accessibility & contrast

On white

8.03
#6D30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6D30A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30A5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30A5#FFFFFF#000000##FFFFFF
##6D30A51.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#624B67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d30a5;
/* rgb */ color: rgb(109, 48, 165);
/* oklch */ color: oklch(45.4% 0.179 303.8);
Tailwind
colors: {
  custom: {
    50: '#9c6dc0',
    500: '#6d30a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d30a5;
$custom-light: #9c6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30a5",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 271.282,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.17925,
    "h": 303.8
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#6D30A5
secondary
#97C071
accent
#DE4A91
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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