#6B30BB#6B30BB

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

Color values

HEX#6B30BB
RGBrgb(107, 48, 187)
HSLhsl(265, 59%, 46%)
HSVhsv(265, 74%, 73%)
CMYKcmyk(42.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(35.65, 53.95, -63.02)
CIE-LCHlch(35.65, 82.96, 310.57°)
OKLaboklab(46.95% 0.0926 -0.1803)
OKLCHoklch(46.95% 0.203 297.2)
XYZxyz(16.0877, 8.8272, 47.8603)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30BB #80BB30
analogous
#303ABB #6B30BB #B030BB
triadic
#6B30BB #BB6B30 #30BB6B
tetradic
#6B30BB #BB303A #80BB30 #30BBB0
square
#6B30BB #BB303A #80BB30 #30BBB0
split-complementary
#6B30BB #BBB030 #3ABB30
monochromatic
#33175A #4F238A #6B30BB #8B55D3 #AC86E0

Accessibility & contrast

On white

7.59
#6B30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B30BB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30BB#FFFFFF#000000##FFFFFF
##6B30BB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b30bb;
/* rgb */ color: rgb(107, 48, 187);
/* oklch */ color: oklch(46.9% 0.203 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ed0',
    500: '#6b30bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b30bb;
$custom-light: #9d6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30bb",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 265.468,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.20268,
    "h": 297.2
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#6B30BB
secondary
#A9C97D
accent
#E245A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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