#6F34C0#6F34C0

#6F34C0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.204 H 297.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6F34C0
RGBrgb(111, 52, 192)
HSLhsl(265, 57%, 48%)
HSVhsv(265, 73%, 75%)
CMYKcmyk(42.2%, 72.9%, 0%, 24.7%)
CIE-LABlab(37.19, 54.07, -63.42)
CIE-LCHlch(37.19, 83.34, 310.45°)
OKLaboklab(48.27% 0.0936 -0.1814)
OKLCHoklch(48.27% 0.204 297.3)
XYZxyz(17.2955, 9.6409, 50.8086)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34C0 #85C034
analogous
#343FC0 #6F34C0 #B534C0
triadic
#6F34C0 #C06F34 #34C06F
tetradic
#6F34C0 #C0343F #85C034 #34C0B5
square
#6F34C0 #C0343F #85C034 #34C0B5
split-complementary
#6F34C0 #C0B534 #3FC034
monochromatic
#371A60 #532790 #6F34C0 #8F5ED3 #B18EE0

Accessibility & contrast

On white

7.17
#6F34C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6F34C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34C0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34C0#FFFFFF#000000##FFFFFF
##6F34C01.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#5A5877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f34c0;
/* rgb */ color: rgb(111, 52, 192);
/* oklch */ color: oklch(48.3% 0.204 297.3);
Tailwind
colors: {
  custom: {
    50: '#9f71d4',
    500: '#6f34c0',
    950: '#000000',
  },
}
SCSS
$custom: #6f34c0;
$custom-light: #9f71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34c0",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 265.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.20412,
    "h": 297.3
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#6F34C0
secondary
#ADCB85
accent
#E147A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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