#6134B2#6134B2

#6134B2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.187 H 294.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6134B2
RGBrgb(97, 52, 178)
HSLhsl(261, 55%, 45%)
HSVhsv(261, 71%, 70%)
CMYKcmyk(45.5%, 70.8%, 0%, 30.2%)
CIE-LABlab(34.42, 47.93, -59.75)
CIE-LCHlch(34.42, 76.60, 308.74°)
OKLaboklab(45.58% 0.0762 -0.1711)
OKLCHoklch(45.58% 0.187 294)
XYZxyz(14.1914, 8.2113, 42.9481)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134B2 #85B234
analogous
#3446B2 #6134B2 #A034B2
triadic
#6134B2 #B26134 #34B261
tetradic
#6134B2 #B23446 #85B234 #34B2A0
square
#6134B2 #B23446 #85B234 #34B2A0
split-complementary
#6134B2 #B2A034 #46B234
monochromatic
#2D1853 #472683 #6134B2 #8056CE #A485DB

Accessibility & contrast

On white

7.95
#6134B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6134B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134B2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134B2#FFFFFF#000000##FFFFFF
##6134B21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#4A546F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6134b2;
/* rgb */ color: rgb(97, 52, 178);
/* oklch */ color: oklch(45.6% 0.187 294.0);
Tailwind
colors: {
  custom: {
    50: '#956fca',
    500: '#6134b2',
    950: '#000000',
  },
}
SCSS
$custom: #6134b2;
$custom-light: #956fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6134b2",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 261.429,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.18729,
    "h": 294
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#6134B2
secondary
#ABC57D
accent
#DE4AA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6134B2

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

Preview Lab → · Contrast checker → · Palette generator →

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