#6C30AF#6C30AF

#6C30AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.190 H 300.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6C30AF
RGBrgb(108, 48, 175)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(38.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.80, 51.11, -57.29)
CIE-LCHlch(34.80, 76.78, 311.74°)
OKLaboklab(46.07% 0.0966 -0.1635)
OKLCHoklch(46.07% 0.19 300.6)
XYZxyz(14.9773, 8.3971, 41.3809)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30AF #73AF30
analogous
#3034AF #6C30AF #AB30AF
triadic
#6C30AF #AF6C30 #30AF6C
tetradic
#6C30AF #AF3034 #73AF30 #30AFAB
square
#6C30AF #AF3034 #73AF30 #30AFAB
split-complementary
#6C30AF #AFAB30 #34AF30
monochromatic
#31164F #4E237F #6C30AF #8B4ECE #AA7EDC

Accessibility & contrast

On white

7.84
#6C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6C30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30AF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30AF#FFFFFF#000000##FFFFFF
##6C30AF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c30af;
/* rgb */ color: rgb(108, 48, 175);
/* oklch */ color: oklch(46.1% 0.190 300.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ec8',
    500: '#6c30af',
    950: '#000000',
  },
}
SCSS
$custom: #6c30af;
$custom-light: #9c6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30af",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 268.346,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46071,
    "c": 0.18988,
    "h": 300.6
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#6C30AF
secondary
#A0C476
accent
#E04898
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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