#6F30B2#6F30B2

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

Color values

HEX#6F30B2
RGBrgb(111, 48, 178)
HSLhsl(269, 58%, 44%)
HSVhsv(269, 73%, 70%)
CMYKcmyk(37.6%, 73%, 0%, 30.2%)
CIE-LABlab(35.42, 52.41, -58.05)
CIE-LCHlch(35.42, 78.21, 312.08°)
OKLaboklab(46.67% 0.1003 -0.1656)
OKLCHoklch(46.67% 0.194 301.2)
XYZxyz(15.6464, 8.7077, 42.9673)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B2 #73B230
analogous
#3032B2 #6F30B2 #B030B2
triadic
#6F30B2 #B26F30 #30B26F
tetradic
#6F30B2 #B23032 #73B230 #30B2B0
square
#6F30B2 #B23032 #73B230 #30B2B0
split-complementary
#6F30B2 #B2B030 #32B230
monochromatic
#331652 #512382 #6F30B2 #8E50D0 #AD80DD

Accessibility & contrast

On white

7.66
#6F30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6F30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B2#FFFFFF#000000##FFFFFF
##6F30B21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#60506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f30b2;
/* rgb */ color: rgb(111, 48, 178);
/* oklch */ color: oklch(46.7% 0.194 301.2);
Tailwind
colors: {
  custom: {
    50: '#9e6eca',
    500: '#6f30b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b2;
$custom-light: #9e6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b2",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 269.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.1936,
    "h": 301.2
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#6F30B2
secondary
#A0C678
accent
#E14796
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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