#6F30AC#6F30AC

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

Color values

HEX#6F30AC
RGBrgb(111, 48, 172)
HSLhsl(270, 56%, 43%)
HSVhsv(270, 72%, 67%)
CMYKcmyk(35.5%, 72.1%, 0%, 32.5%)
CIE-LABlab(34.95, 50.94, -55.24)
CIE-LCHlch(34.95, 75.14, 312.68°)
OKLaboklab(46.19% 0.1015 -0.1573)
OKLCHoklch(46.19% 0.187 302.8)
XYZxyz(15.0571, 8.4720, 39.8637)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30AC #6DAC30
analogous
#3130AC #6F30AC #AC30AB
triadic
#6F30AC #AC6F30 #30AC6F
tetradic
#6F30AC #AC3130 #6DAC30 #30ABAC
square
#6F30AC #AC3130 #6DAC30 #30ABAC
split-complementary
#6F30AC #ABAC30 #30AC31
monochromatic
#31154C #50237C #6F30AC #8E4CCD #AC7CDA

Accessibility & contrast

On white

7.79
#6F30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F30AC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30AC#FFFFFF#000000##FFFFFF
##6F30AC1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#634E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f30ac;
/* rgb */ color: rgb(111, 48, 172);
/* oklch */ color: oklch(46.2% 0.187 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ec6',
    500: '#6f30ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f30ac;
$custom-light: #9e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30ac",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 270.484,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.1872,
    "h": 302.8
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#6F30AC
secondary
#9BC375
accent
#E04893
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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