#6F30C1#6F30C1

#6F30C1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.210 H 297.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6F30C1
RGBrgb(111, 48, 193)
HSLhsl(266, 60%, 47%)
HSVhsv(266, 75%, 76%)
CMYKcmyk(42.5%, 75.1%, 0%, 24.3%)
CIE-LABlab(36.64, 56.12, -64.91)
CIE-LCHlch(36.64, 85.81, 310.85°)
OKLaboklab(47.91% 0.0969 -0.1857)
OKLCHoklch(47.91% 0.21 297.6)
XYZxyz(17.2356, 9.3434, 51.3371)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30C1 #82C130
analogous
#303AC1 #6F30C1 #B830C1
triadic
#6F30C1 #C16F30 #30C16F
tetradic
#6F30C1 #C1303A #82C130 #30C1B8
square
#6F30C1 #C1303A #82C130 #30C1B8
split-complementary
#6F30C1 #C1B830 #3AC130
monochromatic
#37185F #532490 #6F30C1 #8F59D6 #B08AE2

Accessibility & contrast

On white

7.32
#6F30C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6F30C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30C1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30C1#FFFFFF#000000##FFFFFF
##6F30C11.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#5A5677
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f30c1;
/* rgb */ color: rgb(111, 48, 193);
/* oklch */ color: oklch(47.9% 0.210 297.6);
Tailwind
colors: {
  custom: {
    50: '#a06fd5',
    500: '#6f30c1',
    950: '#000000',
  },
}
SCSS
$custom: #6f30c1;
$custom-light: #a06fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30c1",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 266.069,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.20951,
    "h": 297.6
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#6F30C1
secondary
#ABCC81
accent
#E3449E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #6F30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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