#6F30B0#6F30B0

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

Color values

HEX#6F30B0
RGBrgb(111, 48, 176)
HSLhsl(270, 57%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.9%, 72.7%, 0%, 31%)
CIE-LABlab(35.26, 51.92, -57.12)
CIE-LCHlch(35.26, 77.19, 312.27°)
OKLaboklab(46.51% 0.1007 -0.1628)
OKLCHoklch(46.51% 0.191 301.7)
XYZxyz(15.4471, 8.6279, 41.9174)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B0 #71B030
analogous
#3031B0 #6F30B0 #AF30B0
triadic
#6F30B0 #B06F30 #30B06F
tetradic
#6F30B0 #B03031 #71B030 #30B0AF
square
#6F30B0 #B03031 #71B030 #30B0AF
split-complementary
#6F30B0 #B0AF30 #31B030
monochromatic
#321650 #512380 #6F30B0 #8E4ECF #AC7EDC

Accessibility & contrast

On white

7.70
#6F30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6F30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B0#FFFFFF#000000##FFFFFF
##6F30B01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#614F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f30b0;
/* rgb */ color: rgb(111, 48, 176);
/* oklch */ color: oklch(46.5% 0.191 301.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ec8',
    500: '#6f30b0',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b0;
$custom-light: #9e6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b0",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 269.531,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.19147,
    "h": 301.7
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#6F30B0
secondary
#9FC577
accent
#E04795
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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