#6D30B6#6D30B6

#6D30B6 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.198 H 299.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6D30B6
RGBrgb(109, 48, 182)
HSLhsl(267, 58%, 45%)
HSVhsv(267, 74%, 71%)
CMYKcmyk(40.1%, 73.6%, 0%, 28.6%)
CIE-LABlab(35.48, 53.04, -60.32)
CIE-LCHlch(35.48, 80.33, 311.32°)
OKLaboklab(46.76% 0.0966 -0.1723)
OKLCHoklch(46.76% 0.198 299.3)
XYZxyz(15.8050, 8.7423, 45.1016)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B6 #79B630
analogous
#3036B6 #6D30B6 #B030B6
triadic
#6D30B6 #B66D30 #30B66D
tetradic
#6D30B6 #B63036 #79B630 #30B6B0
square
#6D30B6 #B63036 #79B630 #30B6B0
split-complementary
#6D30B6 #B6B030 #36B630
monochromatic
#331655 #502386 #6D30B6 #8C52D1 #AC82DE

Accessibility & contrast

On white

7.64
#6D30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6D30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30B6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B6#FFFFFF#000000##FFFFFF
##6D30B61.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#5C5270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d30b6;
/* rgb */ color: rgb(109, 48, 182);
/* oklch */ color: oklch(46.8% 0.198 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d6ecd',
    500: '#6d30b6',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b6;
$custom-light: #9d6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b6",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 267.313,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.19756,
    "h": 299.3
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#6D30B6
secondary
#A4C77B
accent
#E1469B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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