#6F30AF#6F30AF

#6F30AF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.190 H 302.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6F30AF
RGBrgb(111, 48, 175)
HSLhsl(270, 57%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.6%, 72.6%, 0%, 31.4%)
CIE-LABlab(35.18, 51.68, -56.65)
CIE-LCHlch(35.18, 76.68, 312.37°)
OKLaboklab(46.43% 0.1009 -0.1615)
OKLCHoklch(46.43% 0.19 302)
XYZxyz(15.3485, 8.5885, 41.3983)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30AF #70AF30
analogous
#3030AF #6F30AF #AE30AF
triadic
#6F30AF #AF6F30 #30AF6F
tetradic
#6F30AF #AF3030 #70AF30 #30AFAE
square
#6F30AF #AF3030 #70AF30 #30AFAE
split-complementary
#6F30AF #AFAE30 #30AF30
monochromatic
#32164F #51237F #6F30AF #8E4ECE #AC7EDC

Accessibility & contrast

On white

7.73
#6F30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6F30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30AF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30AF#FFFFFF#000000##FFFFFF
##6F30AF1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f30af;
/* rgb */ color: rgb(111, 48, 175);
/* oklch */ color: oklch(46.4% 0.190 302.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ec8',
    500: '#6f30af',
    950: '#000000',
  },
}
SCSS
$custom: #6f30af;
$custom-light: #9e6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30af",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 269.764,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.1904,
    "h": 302
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#6F30AF
secondary
#9EC476
accent
#E04895
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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