#6F30B4#6F30B4

#6F30B4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.196 H 300.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6F30B4
RGBrgb(111, 48, 180)
HSLhsl(269, 58%, 45%)
HSVhsv(269, 73%, 71%)
CMYKcmyk(38.3%, 73.3%, 0%, 29.4%)
CIE-LABlab(35.57, 52.90, -58.98)
CIE-LCHlch(35.57, 79.23, 311.89°)
OKLaboklab(46.83% 0.0999 -0.1683)
OKLCHoklch(46.83% 0.196 300.7)
XYZxyz(15.8487, 8.7886, 44.0326)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B4 #75B430
analogous
#3033B4 #6F30B4 #B130B4
triadic
#6F30B4 #B46F30 #30B46F
tetradic
#6F30B4 #B43033 #75B430 #30B4B1
square
#6F30B4 #B43033 #75B430 #30B4B1
split-complementary
#6F30B4 #B4B130 #33B430
monochromatic
#331653 #512384 #6F30B4 #8E51D1 #AD81DD

Accessibility & contrast

On white

7.61
#6F30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6F30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B4#FFFFFF#000000##FFFFFF
##6F30B41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#60516F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f30b4;
/* rgb */ color: rgb(111, 48, 180);
/* oklch */ color: oklch(46.8% 0.196 300.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ecb',
    500: '#6f30b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b4;
$custom-light: #9e6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b4",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 268.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.19573,
    "h": 300.7
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#6F30B4
secondary
#A2C679
accent
#E14797
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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