#6D30BB#6D30BB

#6D30BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.203 H 298.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6D30BB
RGBrgb(109, 48, 187)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 74%, 73%)
CMYKcmyk(41.7%, 74.3%, 0%, 26.7%)
CIE-LABlab(35.89, 54.29, -62.61)
CIE-LCHlch(35.89, 82.87, 310.93°)
OKLaboklab(47.18% 0.0955 -0.179)
OKLCHoklch(47.18% 0.203 298.1)
XYZxyz(16.3310, 8.9527, 47.8717)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30BB #7EBB30
analogous
#3038BB #6D30BB #B230BB
triadic
#6D30BB #BB6D30 #30BB6D
tetradic
#6D30BB #BB3038 #7EBB30 #30BBB2
square
#6D30BB #BB3038 #7EBB30 #30BBB2
split-complementary
#6D30BB #BBB230 #38BB30
monochromatic
#34175A #51238A #6D30BB #8C55D3 #AD86E0

Accessibility & contrast

On white

7.53
#6D30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6D30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30BB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30BB#FFFFFF#000000##FFFFFF
##6D30BB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#595473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d30bb;
/* rgb */ color: rgb(109, 48, 187);
/* oklch */ color: oklch(47.2% 0.203 298.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ed0',
    500: '#6d30bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d30bb;
$custom-light: #9e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30bb",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 266.331,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.20291,
    "h": 298.1
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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