#6F30AE#6F30AE

#6F30AE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.189 H 302.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6F30AE
RGBrgb(111, 48, 174)
HSLhsl(270, 57%, 44%)
HSVhsv(270, 72%, 68%)
CMYKcmyk(36.2%, 72.4%, 0%, 31.8%)
CIE-LABlab(35.10, 51.43, -56.18)
CIE-LCHlch(35.10, 76.17, 312.47°)
OKLaboklab(46.35% 0.1011 -0.1601)
OKLCHoklch(46.35% 0.189 302.3)
XYZxyz(15.2507, 8.5494, 40.8829)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30AE #6FAE30
analogous
#3030AE #6F30AE #AE30AE
triadic
#6F30AE #AE6F30 #30AE6F
tetradic
#6F30AE #AE3030 #6FAE30 #30AEAE
square
#6F30AE #AE3030 #6FAE30 #30AEAE
split-complementary
#6F30AE #AEAE30 #30AE30
monochromatic
#32164E #50237E #6F30AE #8E4DCE #AC7DDB

Accessibility & contrast

On white

7.75
#6F30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6F30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30AE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30AE#FFFFFF#000000##FFFFFF
##6F30AE1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#624F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f30ae;
/* rgb */ color: rgb(111, 48, 174);
/* oklch */ color: oklch(46.3% 0.189 302.3);
Tailwind
colors: {
  custom: {
    50: '#9e6ec7',
    500: '#6f30ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f30ae;
$custom-light: #9e6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30ae",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 270,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.18933,
    "h": 302.3
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#6F30AE
secondary
#9DC476
accent
#E04894
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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