#6A30BD#6A30BD

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

Color values

HEX#6A30BD
RGBrgb(106, 48, 189)
HSLhsl(265, 59%, 46%)
HSVhsv(265, 75%, 74%)
CMYKcmyk(43.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(35.70, 54.30, -64.12)
CIE-LCHlch(35.70, 84.02, 310.26°)
OKLaboklab(47.01% 0.0906 -0.1836)
OKLCHoklch(47.01% 0.205 296.3)
XYZxyz(16.1837, 8.8518, 48.9902)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30BD #83BD30
analogous
#303CBD #6A30BD #B130BD
triadic
#6A30BD #BD6A30 #30BD6A
tetradic
#6A30BD #BD303C #83BD30 #30BDB1
square
#6A30BD #BD303C #83BD30 #30BDB1
split-complementary
#6A30BD #BDB130 #3CBD30
monochromatic
#33175B #4F248C #6A30BD #8A56D4 #AC87E0

Accessibility & contrast

On white

7.58
#6A30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A30BD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30BD#FFFFFF#000000##FFFFFF
##6A30BD1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#545574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a30bd;
/* rgb */ color: rgb(106, 48, 189);
/* oklch */ color: oklch(47.0% 0.205 296.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ed2',
    500: '#6a30bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a30bd;
$custom-light: #9c6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30bd",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 264.681,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.20474,
    "h": 296.3
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#6A30BD
secondary
#ABCA7F
accent
#E345A2
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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