#6D30B3#6D30B3

#6D30B3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.194 H 300.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6D30B3
RGBrgb(109, 48, 179)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 73%, 70%)
CMYKcmyk(39.1%, 73.2%, 0%, 29.8%)
CIE-LABlab(35.24, 52.29, -58.94)
CIE-LCHlch(35.24, 78.79, 311.58°)
OKLaboklab(46.51% 0.0973 -0.1683)
OKLCHoklch(46.51% 0.194 300)
XYZxyz(15.4983, 8.6196, 43.4863)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30B3 #76B330
analogous
#3035B3 #6D30B3 #AF30B3
triadic
#6D30B3 #B36D30 #30B36D
tetradic
#6D30B3 #B33035 #76B330 #30B3AF
square
#6D30B3 #B33035 #76B330 #30B3AF
split-complementary
#6D30B3 #B3AF30 #35B330
monochromatic
#321652 #502383 #6D30B3 #8C50D0 #AC80DD

Accessibility & contrast

On white

7.71
#6D30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D30B3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30B3#FFFFFF#000000##FFFFFF
##6D30B31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#5D516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d30b3;
/* rgb */ color: rgb(109, 48, 179);
/* oklch */ color: oklch(46.5% 0.194 300.0);
Tailwind
colors: {
  custom: {
    50: '#9d6ecb',
    500: '#6d30b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d30b3;
$custom-light: #9d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30b3",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 267.939,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.19434,
    "h": 300
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#6D30B3
secondary
#A2C679
accent
#E14799
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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