#6F30C5#6F30C5

#6F30C5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.214 H 296.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6F30C5
RGBrgb(111, 48, 197)
HSLhsl(265, 61%, 48%)
HSVhsv(265, 76%, 77%)
CMYKcmyk(43.7%, 75.6%, 0%, 22.7%)
CIE-LABlab(36.97, 57.12, -66.70)
CIE-LCHlch(36.97, 87.82, 310.58°)
OKLaboklab(48.25% 0.0959 -0.191)
OKLCHoklch(48.25% 0.214 296.7)
XYZxyz(17.6879, 9.5243, 53.7189)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30C5 #86C530
analogous
#303CC5 #6F30C5 #B930C5
triadic
#6F30C5 #C56F30 #30C56F
tetradic
#6F30C5 #C5303C #86C530 #30C5B9
square
#6F30C5 #C5303C #86C530 #30C5B9
split-complementary
#6F30C5 #C5B930 #3CC530
monochromatic
#381863 #532494 #6F30C5 #905BD7 #B18CE3

Accessibility & contrast

On white

7.23
#6F30C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F30C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30C5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30C5#FFFFFF#000000##FFFFFF
##6F30C51.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#585879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f30c5;
/* rgb */ color: rgb(111, 48, 197);
/* oklch */ color: oklch(48.2% 0.214 296.7);
Tailwind
colors: {
  custom: {
    50: '#a06fd8',
    500: '#6f30c5',
    950: '#000000',
  },
}
SCSS
$custom: #6f30c5;
$custom-light: #a06fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30c5",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 265.369,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.21372,
    "h": 296.7
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#6F30C5
secondary
#AECD84
accent
#E444A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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