#6D30AF#6D30AF

#6D30AF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.190 H 301.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6D30AF
RGBrgb(109, 48, 175)
HSLhsl(269, 57%, 44%)
HSVhsv(269, 73%, 69%)
CMYKcmyk(37.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.92, 51.30, -57.08)
CIE-LCHlch(34.92, 76.74, 311.95°)
OKLaboklab(46.19% 0.0981 -0.1628)
OKLCHoklch(46.19% 0.19 301.1)
XYZxyz(15.0996, 8.4602, 41.3866)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30AF #72AF30
analogous
#3032AF #6D30AF #AC30AF
triadic
#6D30AF #AF6D30 #30AF6D
tetradic
#6D30AF #AF3032 #72AF30 #30AFAC
square
#6D30AF #AF3032 #72AF30 #30AFAC
split-complementary
#6D30AF #AFAC30 #32AF30
monochromatic
#31164F #4F237F #6D30AF #8C4ECE #AB7EDC

Accessibility & contrast

On white

7.80
#6D30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6D30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30AF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30AF#FFFFFF#000000##FFFFFF
##6D30AF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5E4F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d30af;
/* rgb */ color: rgb(109, 48, 175);
/* oklch */ color: oklch(46.2% 0.190 301.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ec8',
    500: '#6d30af',
    950: '#000000',
  },
}
SCSS
$custom: #6d30af;
$custom-light: #9d6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30af",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 268.819,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.19004,
    "h": 301.1
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#6D30AF
secondary
#9FC476
accent
#E04897
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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