#6134AC#6134AC

#6134AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.180 H 295.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6134AC
RGBrgb(97, 52, 172)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 67%)
CMYKcmyk(43.6%, 69.8%, 0%, 32.5%)
CIE-LABlab(33.93, 46.31, -56.96)
CIE-LCHlch(33.93, 73.41, 309.11°)
OKLaboklab(45.08% 0.0773 -0.1629)
OKLCHoklch(45.08% 0.18 295.4)
XYZxyz(13.6022, 7.9756, 39.8445)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134AC #7FAC34
analogous
#3443AC #6134AC #9D34AC
triadic
#6134AC #AC6134 #34AC61
tetradic
#6134AC #AC3443 #7FAC34 #34AC9D
square
#6134AC #AC3443 #7FAC34 #34AC9D
split-complementary
#6134AC #AC9D34 #43AC34
monochromatic
#2C184E #46267D #6134AC #8052CB #A281D9

Accessibility & contrast

On white

8.09
#6134AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6134AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134AC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134AC#FFFFFF#000000##FFFFFF
##6134AC1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4D526C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6134ac;
/* rgb */ color: rgb(97, 52, 172);
/* oklch */ color: oklch(45.1% 0.180 295.4);
Tailwind
colors: {
  custom: {
    50: '#946fc6',
    500: '#6134ac',
    950: '#000000',
  },
}
SCSS
$custom: #6134ac;
$custom-light: #946fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6134ac",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 262.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.18032,
    "h": 295.4
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#6134AC
secondary
#A7C279
accent
#DD4BA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6134AC

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

Preview Lab → · Contrast checker → · Palette generator →

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