#6B30B3#6B30B3

#6B30B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.194 H 299.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6B30B3
RGBrgb(107, 48, 179)
HSLhsl(267, 58%, 45%)
HSVhsv(267, 73%, 70%)
CMYKcmyk(40.2%, 73.2%, 0%, 29.8%)
CIE-LABlab(34.99, 51.93, -59.36)
CIE-LCHlch(34.99, 78.87, 311.18°)
OKLaboklab(46.28% 0.0944 -0.1696)
OKLCHoklch(46.28% 0.194 299.1)
XYZxyz(15.2550, 8.4942, 43.4749)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30B3 #78B330
analogous
#3037B3 #6B30B3 #AD30B3
triadic
#6B30B3 #B36B30 #30B36B
tetradic
#6B30B3 #B33037 #78B330 #30B3AD
square
#6B30B3 #B33037 #78B330 #30B3AD
split-complementary
#6B30B3 #B3AD30 #37B330
monochromatic
#311652 #4E2383 #6B30B3 #8A50D0 #AA80DD

Accessibility & contrast

On white

7.78
#6B30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6B30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30B3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30B3#FFFFFF#000000##FFFFFF
##6B30B31.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#5A516F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b30b3;
/* rgb */ color: rgb(107, 48, 179);
/* oklch */ color: oklch(46.3% 0.194 299.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ecb',
    500: '#6b30b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b30b3;
$custom-light: #9c6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30b3",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 267.023,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.19405,
    "h": 299.1
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#6B30B3
secondary
#A3C679
accent
#E1479C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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