#6B30BA#6B30BA

#6B30BA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.202 H 297.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6B30BA
RGBrgb(107, 48, 186)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 74%, 73%)
CMYKcmyk(42.5%, 74.2%, 0%, 27.1%)
CIE-LABlab(35.57, 53.70, -62.56)
CIE-LCHlch(35.57, 82.45, 310.64°)
OKLaboklab(46.87% 0.0928 -0.179)
OKLCHoklch(46.87% 0.202 297.4)
XYZxyz(15.9810, 8.7846, 47.2985)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30BA #7FBA30
analogous
#303ABA #6B30BA #B030BA
triadic
#6B30BA #BA6B30 #30BA6B
tetradic
#6B30BA #BA303A #7FBA30 #30BAB0
square
#6B30BA #BA303A #7FBA30 #30BAB0
split-complementary
#6B30BA #BAB030 #3ABA30
monochromatic
#331759 #4F2389 #6B30BA #8A54D3 #AC85DF

Accessibility & contrast

On white

7.62
#6B30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6B30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30BA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30BA#FFFFFF#000000##FFFFFF
##6B30BA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#575473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b30ba;
/* rgb */ color: rgb(107, 48, 186);
/* oklch */ color: oklch(46.9% 0.202 297.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ed0',
    500: '#6b30ba',
    950: '#000000',
  },
}
SCSS
$custom: #6b30ba;
$custom-light: #9c6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30ba",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 265.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.20161,
    "h": 297.4
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#6B30BA
secondary
#A8C97D
accent
#E2469F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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