#6A30BB#6A30BB

#6A30BB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.203 H 296.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6A30BB
RGBrgb(106, 48, 187)
HSLhsl(265, 59%, 46%)
HSVhsv(265, 74%, 73%)
CMYKcmyk(43.3%, 74.3%, 0%, 26.7%)
CIE-LABlab(35.53, 53.79, -63.22)
CIE-LCHlch(35.53, 83.00, 310.39°)
OKLaboklab(46.84% 0.0911 -0.1809)
OKLCHoklch(46.84% 0.203 296.7)
XYZxyz(15.9681, 8.7656, 47.8547)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30BB #81BB30
analogous
#303BBB #6A30BB #AF30BB
triadic
#6A30BB #BB6A30 #30BB6A
tetradic
#6A30BB #BB303B #81BB30 #30BBAF
square
#6A30BB #BB303B #81BB30 #30BBAF
split-complementary
#6A30BB #BBAF30 #3BBB30
monochromatic
#33175A #4E238A #6A30BB #8A55D3 #AB86E0

Accessibility & contrast

On white

7.63
#6A30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6A30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A30BB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30BB#FFFFFF#000000##FFFFFF
##6A30BB1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#555473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a30bb;
/* rgb */ color: rgb(106, 48, 187);
/* oklch */ color: oklch(46.8% 0.203 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ed0',
    500: '#6a30bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a30bb;
$custom-light: #9c6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30bb",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 265.036,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.20258,
    "h": 296.7
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#6A30BB
secondary
#AAC97D
accent
#E245A1
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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