#6B30AF#6B30AF

#6B30AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.190 H 300.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6B30AF
RGBrgb(107, 48, 175)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(38.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.67, 50.93, -57.50)
CIE-LCHlch(34.67, 76.81, 311.53°)
OKLaboklab(45.95% 0.0952 -0.1641)
OKLCHoklch(45.95% 0.19 300.1)
XYZxyz(14.8563, 8.3347, 41.3752)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30AF #74AF30
analogous
#3034AF #6B30AF #AA30AF
triadic
#6B30AF #AF6B30 #30AF6B
tetradic
#6B30AF #AF3034 #74AF30 #30AFAA
square
#6B30AF #AF3034 #74AF30 #30AFAA
split-complementary
#6B30AF #AFAA30 #34AF30
monochromatic
#30164F #4E237F #6B30AF #8A4ECE #A97EDC

Accessibility & contrast

On white

7.87
#6B30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6B30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30AF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30AF#FFFFFF#000000##FFFFFF
##6B30AF1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5B506C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b30af;
/* rgb */ color: rgb(107, 48, 175);
/* oklch */ color: oklch(46.0% 0.190 300.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ec8',
    500: '#6b30af',
    950: '#000000',
  },
}
SCSS
$custom: #6b30af;
$custom-light: #9b6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30af",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 267.874,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.18971,
    "h": 300.1
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#6B30AF
secondary
#A0C476
accent
#E04899
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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