#6F30B7#6F30B7

#6F30B7 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.199 H 299.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6F30B7
RGBrgb(111, 48, 183)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.3%, 73.8%, 0%, 28.2%)
CIE-LABlab(35.81, 53.64, -60.36)
CIE-LCHlch(35.81, 80.75, 311.63°)
OKLaboklab(47.07% 0.0993 -0.1724)
OKLCHoklch(47.07% 0.199 299.9)
XYZxyz(16.1576, 8.9121, 45.6595)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B7 #78B730
analogous
#3034B7 #6F30B7 #B330B7
triadic
#6F30B7 #B76F30 #30B76F
tetradic
#6F30B7 #B73034 #78B730 #30B7B3
square
#6F30B7 #B73034 #78B730 #30B7B3
split-complementary
#6F30B7 #B7B330 #34B730
monochromatic
#341756 #522387 #6F30B7 #8E52D2 #AE83DE

Accessibility & contrast

On white

7.55
#6F30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6F30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B7#FFFFFF#000000##FFFFFF
##6F30B71.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#5E5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f30b7;
/* rgb */ color: rgb(111, 48, 183);
/* oklch */ color: oklch(47.1% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#9f6ece',
    500: '#6f30b7',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b7;
$custom-light: #9f6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b7",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 268,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.19892,
    "h": 299.9
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#6F30B7
secondary
#A4C87B
accent
#E24699
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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