#6A30C0#6A30C0

#6A30C0 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.208 H 295.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6A30C0
RGBrgb(106, 48, 192)
HSLhsl(264, 60%, 47%)
HSVhsv(264, 75%, 75%)
CMYKcmyk(44.8%, 75%, 0%, 24.7%)
CIE-LABlab(35.95, 55.06, -65.47)
CIE-LCHlch(35.95, 85.54, 310.07°)
OKLaboklab(47.27% 0.0899 -0.1875)
OKLCHoklch(47.27% 0.208 295.6)
XYZxyz(16.5127, 8.9834, 50.7229)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30C0 #86C030
analogous
#303EC0 #6A30C0 #B230C0
triadic
#6A30C0 #C06A30 #30C06A
tetradic
#6A30C0 #C0303E #86C030 #30C0B2
square
#6A30C0 #C0303E #86C030 #30C0B2
split-complementary
#6A30C0 #C0B230 #3EC030
monochromatic
#34185E #4F248F #6A30C0 #8A58D5 #AD89E1

Accessibility & contrast

On white

7.51
#6A30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A30C0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30C0#FFFFFF#000000##FFFFFF
##6A30C01.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#525676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a30c0;
/* rgb */ color: rgb(106, 48, 192);
/* oklch */ color: oklch(47.3% 0.208 295.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ed4',
    500: '#6a30c0',
    950: '#000000',
  },
}
SCSS
$custom: #6a30c0;
$custom-light: #9c6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30c0",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 264.167,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.20797,
    "h": 295.6
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#6A30C0
secondary
#ADCB80
accent
#E345A3
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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