#6037B3#6037B3

#6037B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.185 H 292.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6037B3
RGBrgb(96, 55, 179)
HSLhsl(260, 53%, 46%)
HSVhsv(260, 69%, 70%)
CMYKcmyk(46.4%, 69.3%, 0%, 29.8%)
CIE-LABlab(34.95, 46.47, -59.48)
CIE-LCHlch(34.95, 75.48, 308.00°)
OKLaboklab(45.96% 0.0717 -0.1703)
OKLCHoklch(45.96% 0.185 292.8)
XYZxyz(14.3245, 8.4734, 43.5199)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037B3 #8AB337
analogous
#374CB3 #6037B3 #9E37B3
triadic
#6037B3 #B36037 #37B360
tetradic
#6037B3 #B3374C #8AB337 #37B39E
square
#6037B3 #B3374C #8AB337 #37B39E
split-complementary
#6037B3 #B39E37 #4CB337
monochromatic
#2E1A55 #472984 #6037B3 #805BCD #A48ADB

Accessibility & contrast

On white

7.79
#6037B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6037B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037B3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037B3#FFFFFF#000000##FFFFFF
##6037B31.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#475671
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6037b3;
/* rgb */ color: rgb(96, 55, 179);
/* oklch */ color: oklch(46.0% 0.185 292.8);
Tailwind
colors: {
  custom: {
    50: '#9471cb',
    500: '#6037b3',
    950: '#000000',
  },
}
SCSS
$custom: #6037b3;
$custom-light: #9471cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6037b3",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 259.839,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.18481,
    "h": 292.8
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#6037B3
secondary
#AEC581
accent
#DC4BAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6037B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6037B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva