#6131C8#6131C8

#6131C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.215 H 290.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6131C8
RGBrgb(97, 49, 200)
HSLhsl(259, 61%, 49%)
HSVhsv(259, 76%, 78%)
CMYKcmyk(51.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(35.81, 55.34, -70.43)
CIE-LCHlch(35.81, 89.57, 308.16°)
OKLaboklab(47.15% 0.0738 -0.2024)
OKLCHoklch(47.15% 0.215 290)
XYZxyz(16.4504, 8.9074, 55.4849)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131C8 #98C831
analogous
#314DC8 #6131C8 #AD31C8
triadic
#6131C8 #C86131 #31C861
tetradic
#6131C8 #C8314D #98C831 #31C8AD
square
#6131C8 #C8314D #98C831 #31C8AD
split-complementary
#6131C8 #C8AD31 #4DC831
monochromatic
#311966 #492597 #6131C8 #855FD8 #AA90E4

Accessibility & contrast

On white

7.55
#6131C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6131C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131C8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131C8#FFFFFF#000000##FFFFFF
##6131C81.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#3C5B7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6131c8;
/* rgb */ color: rgb(97, 49, 200);
/* oklch */ color: oklch(47.1% 0.215 290.0);
Tailwind
colors: {
  custom: {
    50: '#986eda',
    500: '#6131c8',
    950: '#000000',
  },
}
SCSS
$custom: #6131c8;
$custom-light: #986eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6131c8",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 259.073,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.21541,
    "h": 290
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#6131C8
secondary
#B7CE86
accent
#E444B1
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6131C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6131C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva