#6D30B1#6D30B1

#6D30B1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.192 H 300.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6D30B1
RGBrgb(109, 48, 177)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(38.4%, 72.9%, 0%, 30.6%)
CIE-LABlab(35.08, 51.80, -58.01)
CIE-LCHlch(35.08, 77.77, 311.76°)
OKLaboklab(46.35% 0.0977 -0.1655)
OKLCHoklch(46.35% 0.192 300.5)
XYZxyz(15.2975, 8.5393, 42.4288)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B1 #74B130
analogous
#3034B1 #6D30B1 #AE30B1
triadic
#6D30B1 #B16D30 #30B16D
tetradic
#6D30B1 #B13034 #74B130 #30B1AE
square
#6D30B1 #B13034 #74B130 #30B1AE
split-complementary
#6D30B1 #B1AE30 #34B130
monochromatic
#321651 #4F2381 #6D30B1 #8C4FCF #AB7FDC

Accessibility & contrast

On white

7.76
#6D30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6D30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30B1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B1#FFFFFF#000000##FFFFFF
##6D30B11.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#5E506E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d30b1;
/* rgb */ color: rgb(109, 48, 177);
/* oklch */ color: oklch(46.4% 0.192 300.5);
Tailwind
colors: {
  custom: {
    50: '#9d6ec9',
    500: '#6d30b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b1;
$custom-light: #9d6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b1",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 268.372,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.19219,
    "h": 300.5
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#6D30B1
secondary
#A1C578
accent
#E14798
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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