#6D30B2#6D30B2

#6D30B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.193 H 300.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6D30B2
RGBrgb(109, 48, 178)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 73%, 70%)
CMYKcmyk(38.8%, 73%, 0%, 30.2%)
CIE-LABlab(35.16, 52.04, -58.48)
CIE-LCHlch(35.16, 78.28, 311.67°)
OKLaboklab(46.43% 0.0975 -0.1669)
OKLCHoklch(46.43% 0.193 300.3)
XYZxyz(15.3975, 8.5793, 42.9556)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B2 #75B230
analogous
#3034B2 #6D30B2 #AE30B2
triadic
#6D30B2 #B26D30 #30B26D
tetradic
#6D30B2 #B23034 #75B230 #30B2AE
square
#6D30B2 #B23034 #75B230 #30B2AE
split-complementary
#6D30B2 #B2AE30 #34B230
monochromatic
#321652 #4F2382 #6D30B2 #8C50D0 #AB80DD

Accessibility & contrast

On white

7.73
#6D30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6D30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30B2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B2#FFFFFF#000000##FFFFFF
##6D30B21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#5D506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d30b2;
/* rgb */ color: rgb(109, 48, 178);
/* oklch */ color: oklch(46.4% 0.193 300.3);
Tailwind
colors: {
  custom: {
    50: '#9d6eca',
    500: '#6d30b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b2;
$custom-light: #9d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b2",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 268.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.19327,
    "h": 300.3
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#6D30B2
secondary
#A1C678
accent
#E14799
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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