#6D30B7#6D30B7

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

Color values

HEX#6D30B7
RGBrgb(109, 48, 183)
HSLhsl(267, 58%, 45%)
HSVhsv(267, 74%, 72%)
CMYKcmyk(40.4%, 73.8%, 0%, 28.2%)
CIE-LABlab(35.56, 53.29, -60.78)
CIE-LCHlch(35.56, 80.83, 311.24°)
OKLaboklab(46.84% 0.0964 -0.1737)
OKLCHoklch(46.84% 0.199 299)
XYZxyz(15.9087, 8.7838, 45.6479)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B7 #7AB730
analogous
#3036B7 #6D30B7 #B030B7
triadic
#6D30B7 #B76D30 #30B76D
tetradic
#6D30B7 #B73036 #7AB730 #30B7B0
square
#6D30B7 #B73036 #7AB730 #30B7B0
split-complementary
#6D30B7 #B7B030 #36B730
monochromatic
#331756 #502387 #6D30B7 #8C52D2 #AC83DE

Accessibility & contrast

On white

7.62
#6D30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D30B7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B7#FFFFFF#000000##FFFFFF
##6D30B71.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5B5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d30b7;
/* rgb */ color: rgb(109, 48, 183);
/* oklch */ color: oklch(46.8% 0.199 299.0);
Tailwind
colors: {
  custom: {
    50: '#9d6ece',
    500: '#6d30b7',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b7;
$custom-light: #9d6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b7",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 267.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.19863,
    "h": 299
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#6D30B7
secondary
#A5C87B
accent
#E2469B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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