#6D30B0#6D30B0

#6D30B0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.191 H 300.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6D30B0
RGBrgb(109, 48, 176)
HSLhsl(269, 57%, 44%)
HSVhsv(269, 73%, 69%)
CMYKcmyk(38.1%, 72.7%, 0%, 31%)
CIE-LABlab(35.00, 51.55, -57.54)
CIE-LCHlch(35.00, 77.26, 311.85°)
OKLaboklab(46.27% 0.0979 -0.1642)
OKLCHoklch(46.27% 0.191 300.8)
XYZxyz(15.1982, 8.4996, 41.9058)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B0 #73B030
analogous
#3033B0 #6D30B0 #AD30B0
triadic
#6D30B0 #B06D30 #30B06D
tetradic
#6D30B0 #B03033 #73B030 #30B0AD
square
#6D30B0 #B03033 #73B030 #30B0AD
split-complementary
#6D30B0 #B0AD30 #33B030
monochromatic
#311650 #4F2380 #6D30B0 #8C4ECF #AB7EDC

Accessibility & contrast

On white

7.78
#6D30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6D30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30B0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B0#FFFFFF#000000##FFFFFF
##6D30B01.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#5E506D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d30b0;
/* rgb */ color: rgb(109, 48, 176);
/* oklch */ color: oklch(46.3% 0.191 300.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ec8',
    500: '#6d30b0',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b0;
$custom-light: #9d6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b0",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 268.594,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46269,
    "c": 0.19112,
    "h": 300.8
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#6D30B0
secondary
#A0C577
accent
#E04797
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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