#6734B4#6734B4

#6734B4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.190 H 296.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6734B4
RGBrgb(103, 52, 180)
HSLhsl(264, 55%, 45%)
HSVhsv(264, 71%, 71%)
CMYKcmyk(42.8%, 71.1%, 0%, 29.4%)
CIE-LABlab(35.27, 49.55, -59.52)
CIE-LCHlch(35.27, 77.44, 309.78°)
OKLaboklab(46.4% 0.0845 -0.1702)
OKLCHoklch(46.4% 0.19 296.4)
XYZxyz(15.0576, 8.6345, 44.0445)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B4 #81B434
analogous
#3441B4 #6734B4 #A734B4
triadic
#6734B4 #B46734 #34B467
tetradic
#6734B4 #B43441 #81B434 #34B4A7
square
#6734B4 #B43441 #81B434 #34B4A7
split-complementary
#6734B4 #B4A734 #41B434
monochromatic
#311955 #4C2685 #6734B4 #8657CE #A886DC

Accessibility & contrast

On white

7.70
#6734B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6734B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B4#FFFFFF#000000##FFFFFF
##6734B41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#535470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6734b4;
/* rgb */ color: rgb(103, 52, 180);
/* oklch */ color: oklch(46.4% 0.190 296.4);
Tailwind
colors: {
  custom: {
    50: '#9970cb',
    500: '#6734b4',
    950: '#000000',
  },
}
SCSS
$custom: #6734b4;
$custom-light: #9970cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b4",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 263.906,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.19003,
    "h": 296.4
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#6734B4
secondary
#A9C67E
accent
#DF49A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6734B4

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

Preview Lab → · Contrast checker → · Palette generator →

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