#6D30B4#6D30B4

#6D30B4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.195 H 299.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6D30B4
RGBrgb(109, 48, 180)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 73%, 71%)
CMYKcmyk(39.4%, 73.3%, 0%, 29.4%)
CIE-LABlab(35.32, 52.54, -59.40)
CIE-LCHlch(35.32, 79.30, 311.49°)
OKLaboklab(46.6% 0.097 -0.1696)
OKLCHoklch(46.6% 0.195 299.8)
XYZxyz(15.5998, 8.6602, 44.0209)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B4 #77B430
analogous
#3035B4 #6D30B4 #AF30B4
triadic
#6D30B4 #B46D30 #30B46D
tetradic
#6D30B4 #B43035 #77B430 #30B4AF
square
#6D30B4 #B43035 #77B430 #30B4AF
split-complementary
#6D30B4 #B4AF30 #35B430
monochromatic
#321653 #502384 #6D30B4 #8C51D1 #AC81DD

Accessibility & contrast

On white

7.69
#6D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6D30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30B4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B4#FFFFFF#000000##FFFFFF
##6D30B41.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#5C516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d30b4;
/* rgb */ color: rgb(109, 48, 180);
/* oklch */ color: oklch(46.6% 0.195 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ecb',
    500: '#6d30b4',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b4;
$custom-light: #9d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b4",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 267.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.19542,
    "h": 299.8
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#6D30B4
secondary
#A3C679
accent
#E1479A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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