#6734B0#6734B0

#6734B0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.185 H 297.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6734B0
RGBrgb(103, 52, 176)
HSLhsl(265, 54%, 45%)
HSVhsv(265, 70%, 69%)
CMYKcmyk(41.5%, 70.5%, 0%, 31%)
CIE-LABlab(34.95, 48.50, -57.66)
CIE-LCHlch(34.95, 75.35, 310.07°)
OKLaboklab(46.07% 0.0853 -0.1647)
OKLCHoklch(46.07% 0.186 297.4)
XYZxyz(14.6560, 8.4739, 41.9293)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B0 #7DB034
analogous
#343FB0 #6734B0 #A534B0
triadic
#6734B0 #B06734 #34B067
tetradic
#6734B0 #B0343F #7DB034 #34B0A5
square
#6734B0 #B0343F #7DB034 #34B0A5
split-complementary
#6734B0 #B0A534 #3FB034
monochromatic
#301852 #4B2681 #6734B0 #8655CD #A784DB

Accessibility & contrast

On white

7.79
#6734B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6734B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B0#FFFFFF#000000##FFFFFF
##6734B01.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#55526E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6734b0;
/* rgb */ color: rgb(103, 52, 176);
/* oklch */ color: oklch(46.1% 0.185 297.4);
Tailwind
colors: {
  custom: {
    50: '#9970c8',
    500: '#6734b0',
    950: '#000000',
  },
}
SCSS
$custom: #6734b0;
$custom-light: #9970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b0",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 264.677,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.1855,
    "h": 297.4
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#6734B0
secondary
#A6C47C
accent
#DE4AA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6734B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6734B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva