#6D30C1#6D30C1

#6D30C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.209 H 296.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6D30C1
RGBrgb(109, 48, 193)
HSLhsl(265, 60%, 47%)
HSVhsv(265, 75%, 76%)
CMYKcmyk(43.5%, 75.1%, 0%, 24.3%)
CIE-LABlab(36.40, 55.80, -65.32)
CIE-LCHlch(36.40, 85.90, 310.51°)
OKLaboklab(47.68% 0.094 -0.187)
OKLCHoklch(47.68% 0.209 296.7)
XYZxyz(16.9867, 9.2150, 51.3254)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30C1 #84C130
analogous
#303CC1 #6D30C1 #B530C1
triadic
#6D30C1 #C16D30 #30C16D
tetradic
#6D30C1 #C1303C #84C130 #30C1B5
square
#6D30C1 #C1303C #84C130 #30C1B5
split-complementary
#6D30C1 #C1B530 #3CC130
monochromatic
#36185F #512490 #6D30C1 #8D59D6 #AF8AE2

Accessibility & contrast

On white

7.39
#6D30C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6D30C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30C1
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30C1#FFFFFF#000000##FFFFFF
##6D30C11.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#575777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d30c1;
/* rgb */ color: rgb(109, 48, 193);
/* oklch */ color: oklch(47.7% 0.209 296.7);
Tailwind
colors: {
  custom: {
    50: '#9e6fd5',
    500: '#6d30c1',
    950: '#000000',
  },
}
SCSS
$custom: #6d30c1;
$custom-light: #9e6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30c1",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 265.241,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47683,
    "c": 0.2093,
    "h": 296.7
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#6D30C1
secondary
#ACCC81
accent
#E344A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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