#6136EE#6136EE

#6136EE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.252 H 283.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6136EE
RGBrgb(97, 54, 238)
HSLhsl(254, 84%, 57%)
HSVhsv(254, 77%, 93%)
CMYKcmyk(59.2%, 77.3%, 0%, 6.7%)
CIE-LABlab(40.17, 63.39, -85.07)
CIE-LCHlch(40.17, 106.09, 306.69°)
OKLaboklab(51.27% 0.0599 -0.2452)
OKLCHoklch(51.27% 0.252 283.7)
XYZxyz(21.6768, 11.3513, 81.9211)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6136EE #C3EE36
analogous
#3667EE #6136EE #BD36EE
triadic
#6136EE #EE6136 #36EE61
tetradic
#6136EE #EE3667 #C3EE36 #36EEBD
square
#6136EE #EE3667 #C3EE36 #36EEBD
split-complementary
#6136EE #EEBD36 #67EE36
monochromatic
#2F0D9C #4012D5 #6136EE #8D6EF3 #BAA7F8

Accessibility & contrast

On white

6.42
#6136EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6136EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6136EE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6136EE#FFFFFF#000000##FFFFFF
##6136EE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064F3
Deuteranopia (green-blind)
#0059EB
Tritanopia (blue-blind)
#006C92
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6136ee;
/* rgb */ color: rgb(97, 54, 238);
/* oklch */ color: oklch(51.3% 0.252 283.7);
Tailwind
colors: {
  custom: {
    50: '#9e73f5',
    500: '#6136ee',
    950: '#000000',
  },
}
SCSS
$custom: #6136ee;
$custom-light: #9e73f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6136ee",
  "rgb": {
    "r": 97,
    "g": 54,
    "b": 238
  },
  "hsl": {
    "h": 254.022,
    "s": 84.404,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.25244,
    "h": 283.7
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#6136EE
secondary
#D4E59B
accent
#FB2DCB
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #6136EE

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

Preview Lab → · Contrast checker → · Palette generator →

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