#6135C4#6135C4

#6135C4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.207 H 290.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6135C4
RGBrgb(97, 53, 196)
HSLhsl(258, 57%, 49%)
HSVhsv(258, 73%, 77%)
CMYKcmyk(50.5%, 73%, 0%, 23.1%)
CIE-LABlab(36.12, 52.35, -67.57)
CIE-LCHlch(36.12, 85.47, 307.76°)
OKLaboklab(47.26% 0.0715 -0.194)
OKLCHoklch(47.26% 0.207 290.2)
XYZxyz(16.1638, 9.0724, 53.1133)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135C4 #98C435
analogous
#3550C4 #6135C4 #A935C4
triadic
#6135C4 #C46135 #35C461
tetradic
#6135C4 #C43550 #98C435 #35C4A9
square
#6135C4 #C43550 #98C435 #35C4A9
split-complementary
#6135C4 #C4A935 #50C435
monochromatic
#311B64 #492894 #6135C4 #8562D4 #AA92E1

Accessibility & contrast

On white

7.46
#6135C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6135C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135C4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135C4#FFFFFF#000000##FFFFFF
##6135C41.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#3E5B7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6135c4;
/* rgb */ color: rgb(97, 53, 196);
/* oklch */ color: oklch(47.3% 0.207 290.2);
Tailwind
colors: {
  custom: {
    50: '#9770d7',
    500: '#6135c4',
    950: '#000000',
  },
}
SCSS
$custom: #6135c4;
$custom-light: #9770d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6135c4",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 258.462,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.20682,
    "h": 290.2
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#6135C4
secondary
#B7CC88
accent
#E147B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6135C4

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

Preview Lab → · Contrast checker → · Palette generator →

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