#6734BF#6734BF

#6734BF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.202 H 294.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6734BF
RGBrgb(103, 52, 191)
HSLhsl(262, 57%, 48%)
HSVhsv(262, 73%, 75%)
CMYKcmyk(46.1%, 72.8%, 0%, 25.1%)
CIE-LABlab(36.18, 52.45, -64.53)
CIE-LCHlch(36.18, 83.15, 309.11°)
OKLaboklab(47.32% 0.0823 -0.1849)
OKLCHoklch(47.32% 0.202 294)
XYZxyz(16.2229, 9.1007, 50.1820)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734BF #8CBF34
analogous
#3447BF #6734BF #AC34BF
triadic
#6734BF #BF6734 #34BF67
tetradic
#6734BF #BF3447 #8CBF34 #34BFAC
square
#6734BF #BF3447 #8CBF34 #34BFAC
split-complementary
#6734BF #BFAC34 #47BF34
monochromatic
#331A5F #4D278F #6734BF #885DD3 #AC8DE0

Accessibility & contrast

On white

7.45
#6734BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6734BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734BF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734BF#FFFFFF#000000##FFFFFF
##6734BF1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#4D5876
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6734bf;
/* rgb */ color: rgb(103, 52, 191);
/* oklch */ color: oklch(47.3% 0.202 294.0);
Tailwind
colors: {
  custom: {
    50: '#9a70d3',
    500: '#6734bf',
    950: '#000000',
  },
}
SCSS
$custom: #6734bf;
$custom-light: #9a70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6734bf",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 262.014,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.20239,
    "h": 294
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#6734BF
secondary
#B1CA84
accent
#E047A8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6734BF

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

Preview Lab → · Contrast checker → · Palette generator →

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