#6134B4#6134B4

#6134B4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.190 H 293.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6134B4
RGBrgb(97, 52, 180)
HSLhsl(261, 55%, 45%)
HSVhsv(261, 71%, 71%)
CMYKcmyk(46.1%, 71.1%, 0%, 29.4%)
CIE-LABlab(34.58, 48.48, -60.66)
CIE-LCHlch(34.58, 77.65, 308.63°)
OKLaboklab(45.75% 0.0759 -0.1738)
OKLCHoklch(45.75% 0.19 293.6)
XYZxyz(14.3937, 8.2922, 44.0133)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134B4 #87B434
analogous
#3447B4 #6134B4 #A134B4
triadic
#6134B4 #B46134 #34B461
tetradic
#6134B4 #B43447 #87B434 #34B4A1
square
#6134B4 #B43447 #87B434 #34B4A1
split-complementary
#6134B4 #B4A134 #47B434
monochromatic
#2E1955 #472685 #6134B4 #8157CE #A486DC

Accessibility & contrast

On white

7.90
#6134B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6134B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134B4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134B4#FFFFFF#000000##FFFFFF
##6134B41.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#495570
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6134b4;
/* rgb */ color: rgb(97, 52, 180);
/* oklch */ color: oklch(45.8% 0.190 293.6);
Tailwind
colors: {
  custom: {
    50: '#956fcb',
    500: '#6134b4',
    950: '#000000',
  },
}
SCSS
$custom: #6134b4;
$custom-light: #956fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6134b4",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 261.094,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.1896,
    "h": 293.6
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#6134B4
secondary
#ADC67E
accent
#DF49AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6134B4

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

Preview Lab → · Contrast checker → · Palette generator →

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