#6D30BA#6D30BA

#6D30BA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.202 H 298.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6D30BA
RGBrgb(109, 48, 186)
HSLhsl(267, 59%, 46%)
HSVhsv(267, 74%, 73%)
CMYKcmyk(41.4%, 74.2%, 0%, 27.1%)
CIE-LABlab(35.81, 54.04, -62.15)
CIE-LCHlch(35.81, 82.36, 311.01°)
OKLaboklab(47.09% 0.0957 -0.1777)
OKLCHoklch(47.09% 0.202 298.3)
XYZxyz(16.2243, 8.9100, 47.3099)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30BA #7DBA30
analogous
#3038BA #6D30BA #B230BA
triadic
#6D30BA #BA6D30 #30BA6D
tetradic
#6D30BA #BA3038 #7DBA30 #30BAB2
square
#6D30BA #BA3038 #7DBA30 #30BAB2
split-complementary
#6D30BA #BAB230 #38BA30
monochromatic
#341759 #502389 #6D30BA #8C54D3 #AD85DF

Accessibility & contrast

On white

7.55
#6D30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6D30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30BA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30BA#FFFFFF#000000##FFFFFF
##6D30BA1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#5A5473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d30ba;
/* rgb */ color: rgb(109, 48, 186);
/* oklch */ color: oklch(47.1% 0.202 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e6ed0',
    500: '#6d30ba',
    950: '#000000',
  },
}
SCSS
$custom: #6d30ba;
$custom-light: #9e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30ba",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 266.522,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.20184,
    "h": 298.3
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#6D30BA
secondary
#A7C97D
accent
#E2469D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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