#6F34B8#6F34B8

#6F34B8 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.195 H 299.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6F34B8
RGBrgb(111, 52, 184)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 72%, 72%)
CMYKcmyk(39.7%, 71.7%, 0%, 27.8%)
CIE-LABlab(36.55, 52.05, -59.76)
CIE-LCHlch(36.55, 79.25, 311.05°)
OKLaboklab(47.62% 0.0953 -0.1706)
OKLCHoklch(47.62% 0.195 299.2)
XYZxyz(16.4331, 9.2960, 46.2666)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B8 #7DB834
analogous
#343BB8 #6F34B8 #B134B8
triadic
#6F34B8 #B86F34 #34B86F
tetradic
#6F34B8 #B8343B #7DB834 #34B8B1
square
#6F34B8 #B8343B #7DB834 #34B8B1
split-complementary
#6F34B8 #B8B134 #3BB834
monochromatic
#351959 #522788 #6F34B8 #8E59D0 #AF89DE

Accessibility & contrast

On white

7.34
#6F34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6F34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B8#FFFFFF#000000##FFFFFF
##6F34B81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#5E5573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f34b8;
/* rgb */ color: rgb(111, 52, 184);
/* oklch */ color: oklch(47.6% 0.195 299.2);
Tailwind
colors: {
  custom: {
    50: '#9e71ce',
    500: '#6f34b8',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b8;
$custom-light: #9e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b8",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 266.818,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.19543,
    "h": 299.2
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#6F34B8
secondary
#A8C880
accent
#DF499C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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