#6135C2#6135C2

#6135C2 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.205 H 290.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6135C2
RGBrgb(97, 53, 194)
HSLhsl(259, 57%, 48%)
HSVhsv(259, 73%, 76%)
CMYKcmyk(50%, 72.7%, 0%, 23.9%)
CIE-LABlab(35.95, 51.80, -66.68)
CIE-LCHlch(35.95, 84.44, 307.84°)
OKLaboklab(47.09% 0.072 -0.1914)
OKLCHoklch(47.09% 0.205 290.6)
XYZxyz(15.9377, 8.9820, 51.9224)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135C2 #96C235
analogous
#3550C2 #6135C2 #A735C2
triadic
#6135C2 #C26135 #35C261
tetradic
#6135C2 #C23550 #96C235 #35C2A7
square
#6135C2 #C23550 #96C235 #35C2A7
split-complementary
#6135C2 #C2A735 #50C235
monochromatic
#311B62 #492892 #6135C2 #8460D4 #AA91E1

Accessibility & contrast

On white

7.51
#6135C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6135C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135C2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135C2#FFFFFF#000000##FFFFFF
##6135C21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#405A78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6135c2;
/* rgb */ color: rgb(97, 53, 194);
/* oklch */ color: oklch(47.1% 0.205 290.6);
Tailwind
colors: {
  custom: {
    50: '#9770d6',
    500: '#6135c2',
    950: '#000000',
  },
}
SCSS
$custom: #6135c2;
$custom-light: #9770d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6135c2",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 258.723,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.20454,
    "h": 290.6
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#6135C2
secondary
#B6CC87
accent
#E047B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6135C2

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

Preview Lab → · Contrast checker → · Palette generator →

#6135C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva