#6038B9#6038B9

#6038B9 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.191 H 291.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6038B9
RGBrgb(96, 56, 185)
HSLhsl(259, 54%, 47%)
HSVhsv(259, 70%, 73%)
CMYKcmyk(48.1%, 69.7%, 0%, 27.5%)
CIE-LABlab(35.63, 47.61, -61.92)
CIE-LCHlch(35.63, 78.11, 307.56°)
OKLaboklab(46.6% 0.0697 -0.1775)
OKLCHoklch(46.6% 0.191 291.4)
XYZxyz(14.9925, 8.8174, 46.8015)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6038B9 #91B938
analogous
#3850B9 #6038B9 #A138B9
triadic
#6038B9 #B96038 #38B960
tetradic
#6038B9 #B93850 #91B938 #38B9A1
square
#6038B9 #B93850 #91B938 #38B9A1
split-complementary
#6038B9 #B9A138 #50B938
monochromatic
#2F1C5B #482A8A #6038B9 #825FCF #A78EDD

Accessibility & contrast

On white

7.60
#6038B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6038B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6038B9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6038B9#FFFFFF#000000##FFFFFF
##6038B91.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#445974
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6038b9;
/* rgb */ color: rgb(96, 56, 185);
/* oklch */ color: oklch(46.6% 0.191 291.4);
Tailwind
colors: {
  custom: {
    50: '#9572cf',
    500: '#6038b9',
    950: '#000000',
  },
}
SCSS
$custom: #6038b9;
$custom-light: #9572cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6038b9",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 258.605,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.466,
    "c": 0.19069,
    "h": 291.4
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#6038B9
secondary
#B3C885
accent
#DD4BB0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6038B9

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

Preview Lab → · Contrast checker → · Palette generator →

#6038B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva