#6136AC#6136AC

#6136AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.178 H 295.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6136AC
RGBrgb(97, 54, 172)
HSLhsl(262, 52%, 44%)
HSVhsv(262, 69%, 67%)
CMYKcmyk(43.6%, 68.6%, 0%, 32.5%)
CIE-LABlab(34.31, 45.26, -56.35)
CIE-LCHlch(34.31, 72.28, 308.77°)
OKLaboklab(45.35% 0.0753 -0.1611)
OKLCHoklch(45.35% 0.178 295)
XYZxyz(13.6933, 8.1579, 39.8749)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6136AC #81AC36
analogous
#3646AC #6136AC #9C36AC
triadic
#6136AC #AC6136 #36AC61
tetradic
#6136AC #AC3646 #81AC36 #36AC9C
square
#6136AC #AC3646 #81AC36 #36AC9C
split-complementary
#6136AC #AC9C36 #46AC36
monochromatic
#2C194F #47277D #6136AC #8055CA #A384D8

Accessibility & contrast

On white

7.98
#6136AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6136AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6136AC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6136AC#FFFFFF#000000##FFFFFF
##6136AC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#4D536D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6136ac;
/* rgb */ color: rgb(97, 54, 172);
/* oklch */ color: oklch(45.4% 0.178 295.0);
Tailwind
colors: {
  custom: {
    50: '#9470c6',
    500: '#6136ac',
    950: '#000000',
  },
}
SCSS
$custom: #6136ac;
$custom-light: #9470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6136ac",
  "rgb": {
    "r": 97,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 261.864,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.17782,
    "h": 295
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#6136AC
secondary
#A8C27C
accent
#DC4CA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6136AC

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

Preview Lab → · Contrast checker → · Palette generator →

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