#6F30B3#6F30B3

#6F30B3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.195 H 301.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6F30B3
RGBrgb(111, 48, 179)
HSLhsl(269, 58%, 45%)
HSVhsv(269, 73%, 70%)
CMYKcmyk(38%, 73.2%, 0%, 29.8%)
CIE-LABlab(35.49, 52.66, -58.52)
CIE-LCHlch(35.49, 78.72, 311.98°)
OKLaboklab(46.75% 0.1001 -0.1669)
OKLCHoklch(46.75% 0.195 301)
XYZxyz(15.7472, 8.7480, 43.4980)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B3 #74B330
analogous
#3033B3 #6F30B3 #B130B3
triadic
#6F30B3 #B36F30 #30B36F
tetradic
#6F30B3 #B33033 #74B330 #30B3B1
square
#6F30B3 #B33033 #74B330 #30B3B1
split-complementary
#6F30B3 #B3B130 #33B330
monochromatic
#331652 #512383 #6F30B3 #8E50D0 #AD80DD

Accessibility & contrast

On white

7.64
#6F30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6F30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B3#FFFFFF#000000##FFFFFF
##6F30B31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#60516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f30b3;
/* rgb */ color: rgb(111, 48, 179);
/* oklch */ color: oklch(46.7% 0.195 301.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ecb',
    500: '#6f30b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b3;
$custom-light: #9e6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b3",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 268.855,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.19467,
    "h": 301
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#6F30B3
secondary
#A1C679
accent
#E14797
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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