#6B30B7#6B30B7

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

Color values

HEX#6B30B7
RGBrgb(107, 48, 183)
HSLhsl(266, 58%, 45%)
HSVhsv(266, 74%, 72%)
CMYKcmyk(41.5%, 73.8%, 0%, 28.2%)
CIE-LABlab(35.32, 52.94, -61.20)
CIE-LCHlch(35.32, 80.92, 310.86°)
OKLaboklab(46.61% 0.0935 -0.175)
OKLCHoklch(46.61% 0.198 298.1)
XYZxyz(15.6654, 8.6583, 45.6364)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30B7 #7CB730
analogous
#3038B7 #6B30B7 #AE30B7
triadic
#6B30B7 #B76B30 #30B76B
tetradic
#6B30B7 #B73038 #7CB730 #30B7AE
square
#6B30B7 #B73038 #7CB730 #30B7AE
split-complementary
#6B30B7 #B7AE30 #38B730
monochromatic
#321756 #4F2387 #6B30B7 #8A52D2 #AB83DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B30B7#FFFFFF#000000##FFFFFF
##6B30B71.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)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#585371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b30b7;
/* rgb */ color: rgb(107, 48, 183);
/* oklch */ color: oklch(46.6% 0.198 298.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ece',
    500: '#6b30b7',
    950: '#000000',
  },
}
SCSS
$custom: #6b30b7;
$custom-light: #9c6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30b7",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 266.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.19837,
    "h": 298.1
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#6B30B7
secondary
#A6C87B
accent
#E2469E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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