#6135B2#6135B2

#6135B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.186 H 293.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6135B2
RGBrgb(97, 53, 178)
HSLhsl(261, 54%, 45%)
HSVhsv(261, 70%, 70%)
CMYKcmyk(45.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(34.60, 47.42, -59.45)
CIE-LCHlch(34.60, 76.04, 308.58°)
OKLaboklab(45.71% 0.0753 -0.1702)
OKLCHoklch(45.71% 0.186 293.9)
XYZxyz(14.2366, 8.3015, 42.9631)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135B2 #86B235
analogous
#3547B2 #6135B2 #9F35B2
triadic
#6135B2 #B26135 #35B261
tetradic
#6135B2 #B23547 #86B235 #35B29F
square
#6135B2 #B23547 #86B235 #35B29F
split-complementary
#6135B2 #B29F35 #47B235
monochromatic
#2E1954 #472783 #6135B2 #8157CD #A486DB

Accessibility & contrast

On white

7.89
#6135B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6135B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135B2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135B2#FFFFFF#000000##FFFFFF
##6135B21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6135b2;
/* rgb */ color: rgb(97, 53, 178);
/* oklch */ color: oklch(45.7% 0.186 293.9);
Tailwind
colors: {
  custom: {
    50: '#9570ca',
    500: '#6135b2',
    950: '#000000',
  },
}
SCSS
$custom: #6135b2;
$custom-light: #9570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6135b2",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 261.12,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.1861,
    "h": 293.9
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#6135B2
secondary
#ACC57E
accent
#DD4AAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6135B2

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

Preview Lab → · Contrast checker → · Palette generator →

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