#6D30BD#6D30BD

#6D30BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.205 H 297.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6D30BD
RGBrgb(109, 48, 189)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 75%, 74%)
CMYKcmyk(42.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(36.06, 54.79, -63.52)
CIE-LCHlch(36.06, 83.88, 310.78°)
OKLaboklab(47.34% 0.095 -0.1817)
OKLCHoklch(47.34% 0.205 297.6)
XYZxyz(16.5465, 9.0389, 49.0072)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30BD #80BD30
analogous
#303ABD #6D30BD #B430BD
triadic
#6D30BD #BD6D30 #30BD6D
tetradic
#6D30BD #BD303A #80BD30 #30BDB4
square
#6D30BD #BD303A #80BD30 #30BDB4
split-complementary
#6D30BD #BDB430 #3ABD30
monochromatic
#35175B #51248C #6D30BD #8D56D4 #AE87E0

Accessibility & contrast

On white

7.48
#6D30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6D30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30BD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30BD#FFFFFF#000000##FFFFFF
##6D30BD1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#595574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d30bd;
/* rgb */ color: rgb(109, 48, 189);
/* oklch */ color: oklch(47.3% 0.205 297.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ed2',
    500: '#6d30bd',
    950: '#000000',
  },
}
SCSS
$custom: #6d30bd;
$custom-light: #9e6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30bd",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 265.957,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.20504,
    "h": 297.6
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#6D30BD
secondary
#A9CA7F
accent
#E3459F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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