#6D30B9#6D30B9

#6D30B9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.201 H 298.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6D30B9
RGBrgb(109, 48, 185)
HSLhsl(267, 59%, 46%)
HSVhsv(267, 74%, 73%)
CMYKcmyk(41.1%, 74.1%, 0%, 27.5%)
CIE-LABlab(35.73, 53.79, -61.70)
CIE-LCHlch(35.73, 81.85, 311.08°)
OKLaboklab(47.01% 0.0959 -0.1764)
OKLCHoklch(47.01% 0.201 298.5)
XYZxyz(16.1183, 8.8677, 46.7520)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B9 #7CB930
analogous
#3038B9 #6D30B9 #B130B9
triadic
#6D30B9 #B96D30 #30B96D
tetradic
#6D30B9 #B93038 #7CB930 #30B9B1
square
#6D30B9 #B93038 #7CB930 #30B9B1
split-complementary
#6D30B9 #B9B130 #38B930
monochromatic
#341758 #502388 #6D30B9 #8C54D3 #AD84DF

Accessibility & contrast

On white

7.57
#6D30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6D30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30B9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B9#FFFFFF#000000##FFFFFF
##6D30B91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#5A5372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d30b9;
/* rgb */ color: rgb(109, 48, 185);
/* oklch */ color: oklch(47.0% 0.201 298.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ecf',
    500: '#6d30b9',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b9;
$custom-light: #9e6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b9",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 266.715,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.20078,
    "h": 298.5
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#6D30B9
secondary
#A7C97C
accent
#E2469C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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