#6038BE#6038BE

#6038BE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.197 H 290.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6038BE
RGBrgb(96, 56, 190)
HSLhsl(258, 54%, 48%)
HSVhsv(258, 71%, 75%)
CMYKcmyk(49.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(36.05, 49.01, -64.18)
CIE-LCHlch(36.05, 80.76, 307.36°)
OKLaboklab(47.03% 0.0687 -0.1842)
OKLCHoklch(47.03% 0.197 290.5)
XYZxyz(15.5297, 9.0322, 49.6303)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6038BE #96BE38
analogous
#3853BE #6038BE #A338BE
triadic
#6038BE #BE6038 #38BE60
tetradic
#6038BE #BE3853 #96BE38 #38BEA3
square
#6038BE #BE3853 #96BE38 #38BEA3
split-complementary
#6038BE #BEA338 #53BE38
monochromatic
#301C5F #482A8F #6038BE #8362D1 #A992DF

Accessibility & contrast

On white

7.48
#6038BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6038BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6038BE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6038BE#FFFFFF#000000##FFFFFF
##6038BE1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#405B77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6038be;
/* rgb */ color: rgb(96, 56, 190);
/* oklch */ color: oklch(47.0% 0.197 290.5);
Tailwind
colors: {
  custom: {
    50: '#9672d3',
    500: '#6038be',
    950: '#000000',
  },
}
SCSS
$custom: #6038be;
$custom-light: #9672d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6038be",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 257.91,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.19657,
    "h": 290.5
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#6038BE
secondary
#B6CA88
accent
#DE4AB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6038BE

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

Preview Lab → · Contrast checker → · Palette generator →

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