#6D30A3#6D30A3

#6D30A3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.177 H 304.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6D30A3
RGBrgb(109, 48, 163)
HSLhsl(272, 55%, 41%)
HSVhsv(272, 71%, 64%)
CMYKcmyk(33.1%, 70.6%, 0%, 36.1%)
CIE-LABlab(34.00, 48.36, -51.38)
CIE-LCHlch(34.00, 70.56, 313.26°)
OKLaboklab(45.25% 0.1002 -0.146)
OKLCHoklch(45.25% 0.177 304.4)
XYZxyz(13.9730, 8.0095, 35.4531)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30A3 #66A330
analogous
#3430A3 #6D30A3 #A330A0
triadic
#6D30A3 #A36D30 #30A36D
tetradic
#6D30A3 #A33430 #66A330 #30A0A3
square
#6D30A3 #A33430 #66A330 #30A0A3
split-complementary
#6D30A3 #A0A330 #30A334
monochromatic
#2E1444 #4D2274 #6D30A3 #8C47C9 #AA77D7

Accessibility & contrast

On white

8.07
#6D30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6D30A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30A3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30A3#FFFFFF#000000##FFFFFF
##6D30A31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#634B66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d30a3;
/* rgb */ color: rgb(109, 48, 163);
/* oklch */ color: oklch(45.2% 0.177 304.4);
Tailwind
colors: {
  custom: {
    50: '#9b6dbf',
    500: '#6d30a3',
    950: '#000000',
  },
}
SCSS
$custom: #6d30a3;
$custom-light: #9b6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30a3",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 271.826,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.17708,
    "h": 304.4
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#6D30A3
secondary
#95BF70
accent
#DE4A8F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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