#6D30A2#6D30A2

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

Color values

HEX#6D30A2
RGBrgb(109, 48, 162)
HSLhsl(272, 54%, 41%)
HSVhsv(272, 70%, 64%)
CMYKcmyk(32.7%, 70.4%, 0%, 36.5%)
CIE-LABlab(33.93, 48.12, -50.90)
CIE-LCHlch(33.93, 70.04, 313.39°)
OKLaboklab(45.17% 0.1003 -0.1446)
OKLCHoklch(45.17% 0.176 304.7)
XYZxyz(13.8837, 7.9738, 34.9831)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30A2 #65A230
analogous
#3430A2 #6D30A2 #A2309E
triadic
#6D30A2 #A26D30 #30A26D
tetradic
#6D30A2 #A23430 #65A230 #309EA2
square
#6D30A2 #A23430 #65A230 #309EA2
split-complementary
#6D30A2 #9EA230 #30A234
monochromatic
#2D1444 #4D2273 #6D30A2 #8C47C8 #AA76D6

Accessibility & contrast

On white

8.09
#6D30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D30A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30A2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30A2#FFFFFF#000000##FFFFFF
##6D30A21.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#634A65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d30a2;
/* rgb */ color: rgb(109, 48, 162);
/* oklch */ color: oklch(45.2% 0.176 304.7);
Tailwind
colors: {
  custom: {
    50: '#9b6dbe',
    500: '#6d30a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d30a2;
$custom-light: #9b6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30a2",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 272.105,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.176,
    "h": 304.7
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#6D30A2
secondary
#94BE6F
accent
#DE4A8F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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