#6D30A4#6D30A4

#6D30A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.178 H 304.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6D30A4
RGBrgb(109, 48, 164)
HSLhsl(272, 55%, 42%)
HSVhsv(272, 71%, 64%)
CMYKcmyk(33.5%, 70.7%, 0%, 35.7%)
CIE-LABlab(34.08, 48.60, -51.86)
CIE-LCHlch(34.08, 71.08, 313.14°)
OKLaboklab(45.32% 0.1 -0.1475)
OKLCHoklch(45.32% 0.178 304.1)
XYZxyz(14.0629, 8.0455, 35.9268)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30A4 #67A430
analogous
#3330A4 #6D30A4 #A430A1
triadic
#6D30A4 #A46D30 #30A46D
tetradic
#6D30A4 #A43330 #67A430 #30A1A4
square
#6D30A4 #A43330 #67A430 #30A1A4
split-complementary
#6D30A4 #A1A430 #30A433
monochromatic
#2E1445 #4E2275 #6D30A4 #8C48C9 #AA77D7

Accessibility & contrast

On white

8.05
#6D30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30A4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30A4#FFFFFF#000000##FFFFFF
##6D30A41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#624B66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d30a4;
/* rgb */ color: rgb(109, 48, 164);
/* oklch */ color: oklch(45.3% 0.178 304.1);
Tailwind
colors: {
  custom: {
    50: '#9c6dc0',
    500: '#6d30a4',
    950: '#000000',
  },
}
SCSS
$custom: #6d30a4;
$custom-light: #9c6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30a4",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 271.552,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.17816,
    "h": 304.1
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#6D30A4
secondary
#96BF70
accent
#DE4A90
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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