#6734B1#6734B1

#6734B1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.187 H 297.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6734B1
RGBrgb(103, 52, 177)
HSLhsl(264, 55%, 45%)
HSVhsv(264, 71%, 69%)
CMYKcmyk(41.8%, 70.6%, 0%, 30.6%)
CIE-LABlab(35.03, 48.77, -58.13)
CIE-LCHlch(35.03, 75.87, 310.00°)
OKLaboklab(46.15% 0.0851 -0.1661)
OKLCHoklch(46.15% 0.187 297.1)
XYZxyz(14.7553, 8.5136, 42.4523)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B1 #7EB134
analogous
#3440B1 #6734B1 #A634B1
triadic
#6734B1 #B16734 #34B167
tetradic
#6734B1 #B13440 #7EB134 #34B1A6
square
#6734B1 #B13440 #7EB134 #34B1A6
split-complementary
#6734B1 #B1A634 #40B134
monochromatic
#301852 #4B2682 #6734B1 #8655CD #A884DB

Accessibility & contrast

On white

7.77
#6734B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6734B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B1#FFFFFF#000000##FFFFFF
##6734B11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#54536F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6734b1;
/* rgb */ color: rgb(103, 52, 177);
/* oklch */ color: oklch(46.2% 0.187 297.1);
Tailwind
colors: {
  custom: {
    50: '#9970c9',
    500: '#6734b1',
    950: '#000000',
  },
}
SCSS
$custom: #6734b1;
$custom-light: #9970c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b1",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 264.48,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.18663,
    "h": 297.1
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#6734B1
secondary
#A7C57C
accent
#DE4AA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6734B1

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

Preview Lab → · Contrast checker → · Palette generator →

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