#6B30B2#6B30B2

#6B30B2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.193 H 299.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6B30B2
RGBrgb(107, 48, 178)
HSLhsl(267, 58%, 44%)
HSVhsv(267, 73%, 70%)
CMYKcmyk(39.9%, 73%, 0%, 30.2%)
CIE-LABlab(34.91, 51.68, -58.89)
CIE-LCHlch(34.91, 78.35, 311.27°)
OKLaboklab(46.2% 0.0946 -0.1682)
OKLCHoklch(46.2% 0.193 299.3)
XYZxyz(15.1542, 8.4539, 42.9442)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30B2 #77B230
analogous
#3036B2 #6B30B2 #AC30B2
triadic
#6B30B2 #B26B30 #30B26B
tetradic
#6B30B2 #B23036 #77B230 #30B2AC
square
#6B30B2 #B23036 #77B230 #30B2AC
split-complementary
#6B30B2 #B2AC30 #36B230
monochromatic
#311652 #4E2382 #6B30B2 #8A50D0 #AA80DD

Accessibility & contrast

On white

7.80
#6B30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6B30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30B2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30B2#FFFFFF#000000##FFFFFF
##6B30B21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5A516E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b30b2;
/* rgb */ color: rgb(107, 48, 178);
/* oklch */ color: oklch(46.2% 0.193 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c6eca',
    500: '#6b30b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b30b2;
$custom-light: #9c6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30b2",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 267.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.19297,
    "h": 299.3
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#6B30B2
secondary
#A2C678
accent
#E1479B
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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