#6D30C5#6D30C5

#6D30C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.214 H 295.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6D30C5
RGBrgb(109, 48, 197)
HSLhsl(265, 61%, 48%)
HSVhsv(265, 76%, 77%)
CMYKcmyk(44.7%, 75.6%, 0%, 22.7%)
CIE-LABlab(36.74, 56.81, -67.10)
CIE-LCHlch(36.74, 87.92, 310.25°)
OKLaboklab(48.03% 0.093 -0.1922)
OKLCHoklch(48.03% 0.214 295.8)
XYZxyz(17.4390, 9.3959, 53.7073)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30C5 #88C530
analogous
#303DC5 #6D30C5 #B730C5
triadic
#6D30C5 #C56D30 #30C56D
tetradic
#6D30C5 #C5303D #88C530 #30C5B7
square
#6D30C5 #C5303D #88C530 #30C5B7
split-complementary
#6D30C5 #C5B730 #3DC530
monochromatic
#371863 #522494 #6D30C5 #8E5BD7 #B08CE3

Accessibility & contrast

On white

7.29
#6D30C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6D30C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30C5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30C5#FFFFFF#000000##FFFFFF
##6D30C51.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#555879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d30c5;
/* rgb */ color: rgb(109, 48, 197);
/* oklch */ color: oklch(48.0% 0.214 295.8);
Tailwind
colors: {
  custom: {
    50: '#9f6fd8',
    500: '#6d30c5',
    950: '#000000',
  },
}
SCSS
$custom: #6d30c5;
$custom-light: #9f6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30c5",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 264.564,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.21355,
    "h": 295.8
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#6D30C5
secondary
#AFCD84
accent
#E444A2
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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