#6134B3#6134B3

#6134B3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.188 H 293.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6134B3
RGBrgb(97, 52, 179)
HSLhsl(261, 55%, 45%)
HSVhsv(261, 71%, 70%)
CMYKcmyk(45.8%, 70.9%, 0%, 29.8%)
CIE-LABlab(34.50, 48.20, -60.21)
CIE-LCHlch(34.50, 77.13, 308.68°)
OKLaboklab(45.67% 0.0761 -0.1724)
OKLCHoklch(45.67% 0.188 293.8)
XYZxyz(14.2922, 8.2516, 43.4788)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134B3 #86B334
analogous
#3446B3 #6134B3 #A034B3
triadic
#6134B3 #B36134 #34B361
tetradic
#6134B3 #B33446 #86B334 #34B3A0
square
#6134B3 #B33446 #86B334 #34B3A0
split-complementary
#6134B3 #B3A034 #46B334
monochromatic
#2E1854 #472684 #6134B3 #8156CE #A486DC

Accessibility & contrast

On white

7.92
#6134B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6134B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134B3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134B3#FFFFFF#000000##FFFFFF
##6134B31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#495470
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6134b3;
/* rgb */ color: rgb(97, 52, 179);
/* oklch */ color: oklch(45.7% 0.188 293.8);
Tailwind
colors: {
  custom: {
    50: '#956fcb',
    500: '#6134b3',
    950: '#000000',
  },
}
SCSS
$custom: #6134b3;
$custom-light: #956fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6134b3",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 261.26,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.18845,
    "h": 293.8
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#6134B3
secondary
#ACC57D
accent
#DE49AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6134B3

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

Preview Lab → · Contrast checker → · Palette generator →

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