#6F30B6#6F30B6

#6F30B6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.198 H 300.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6F30B6
RGBrgb(111, 48, 182)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(39%, 73.6%, 0%, 28.6%)
CIE-LABlab(35.73, 53.39, -59.90)
CIE-LCHlch(35.73, 80.25, 311.71°)
OKLaboklab(46.99% 0.0995 -0.171)
OKLCHoklch(46.99% 0.198 300.2)
XYZxyz(16.0539, 8.8707, 45.1133)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B6 #77B630
analogous
#3034B6 #6F30B6 #B230B6
triadic
#6F30B6 #B66F30 #30B66F
tetradic
#6F30B6 #B63034 #77B630 #30B6B2
square
#6F30B6 #B63034 #77B630 #30B6B2
split-complementary
#6F30B6 #B6B230 #34B630
monochromatic
#341655 #512386 #6F30B6 #8E52D1 #AD82DE

Accessibility & contrast

On white

7.57
#6F30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6F30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B6#FFFFFF#000000##FFFFFF
##6F30B61.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#5F5270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f30b6;
/* rgb */ color: rgb(111, 48, 182);
/* oklch */ color: oklch(47.0% 0.198 300.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ecd',
    500: '#6f30b6',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b6;
$custom-light: #9f6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b6",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 268.209,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.19786,
    "h": 300.2
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#6F30B6
secondary
#A3C77B
accent
#E14699
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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