#6134C5#6134C5

#6134C5 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.209 H 290.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6134C5
RGBrgb(97, 52, 197)
HSLhsl(259, 58%, 49%)
HSVhsv(259, 74%, 77%)
CMYKcmyk(50.8%, 73.6%, 0%, 22.7%)
CIE-LABlab(36.04, 53.11, -68.30)
CIE-LCHlch(36.04, 86.51, 307.87°)
OKLaboklab(47.23% 0.0721 -0.1962)
OKLCHoklch(47.23% 0.209 290.2)
XYZxyz(16.2329, 9.0279, 53.6997)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134C5 #98C534
analogous
#344FC5 #6134C5 #AA34C5
triadic
#6134C5 #C56134 #34C561
tetradic
#6134C5 #C5344F #98C534 #34C5AA
square
#6134C5 #C5344F #98C534 #34C5AA
split-complementary
#6134C5 #C5AA34 #4FC534
monochromatic
#311A64 #492795 #6134C5 #8561D5 #AA91E2

Accessibility & contrast

On white

7.48
#6134C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6134C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134C5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134C5#FFFFFF#000000##FFFFFF
##6134C51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#3E5B7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6134c5;
/* rgb */ color: rgb(97, 52, 197);
/* oklch */ color: oklch(47.2% 0.209 290.2);
Tailwind
colors: {
  custom: {
    50: '#9870d8',
    500: '#6134c5',
    950: '#000000',
  },
}
SCSS
$custom: #6134c5;
$custom-light: #9870d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6134c5",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 258.621,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47229,
    "c": 0.209,
    "h": 290.2
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#6134C5
secondary
#B7CD88
accent
#E146B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6134C5

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

Preview Lab → · Contrast checker → · Palette generator →

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