#6137AF#6137AF

#6137AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.180 H 294.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6137AF
RGBrgb(97, 55, 175)
HSLhsl(261, 52%, 45%)
HSVhsv(261, 69%, 69%)
CMYKcmyk(44.6%, 68.6%, 0%, 31.4%)
CIE-LABlab(34.74, 45.56, -57.44)
CIE-LCHlch(34.74, 73.31, 308.42°)
OKLaboklab(45.74% 0.0738 -0.1643)
OKLCHoklch(45.74% 0.18 294.2)
XYZxyz(14.0317, 8.3685, 41.4251)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6137AF #85AF37
analogous
#3749AF #6137AF #9D37AF
triadic
#6137AF #AF6137 #37AF61
tetradic
#6137AF #AF3749 #85AF37 #37AF9D
square
#6137AF #AF3749 #85AF37 #37AF9D
split-complementary
#6137AF #AF9D37 #49AF37
monochromatic
#2D1A52 #472880 #6137AF #8059CB #A487D9

Accessibility & contrast

On white

7.85
#6137AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6137AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6137AF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6137AF#FFFFFF#000000##FFFFFF
##6137AF1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#4B546E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6137af;
/* rgb */ color: rgb(97, 55, 175);
/* oklch */ color: oklch(45.7% 0.180 294.2);
Tailwind
colors: {
  custom: {
    50: '#9471c8',
    500: '#6137af',
    950: '#000000',
  },
}
SCSS
$custom: #6137af;
$custom-light: #9471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6137af",
  "rgb": {
    "r": 97,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 261,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45736,
    "c": 0.18011,
    "h": 294.2
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#6137AF
secondary
#ABC37F
accent
#DC4CA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6137AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6137AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva