#6038C1#6038C1

#6038C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.3% C 0.200 H 289.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6038C1
RGBrgb(96, 56, 193)
HSLhsl(258, 55%, 49%)
HSVhsv(258, 71%, 76%)
CMYKcmyk(50.3%, 71%, 0%, 24.3%)
CIE-LABlab(36.30, 49.85, -65.53)
CIE-LCHlch(36.30, 82.33, 307.26°)
OKLaboklab(47.28% 0.0682 -0.1881)
OKLCHoklch(47.28% 0.2 289.9)
XYZxyz(15.8609, 9.1647, 51.3750)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6038C1 #99C138
analogous
#3855C1 #6038C1 #A538C1
triadic
#6038C1 #C16038 #38C160
tetradic
#6038C1 #C13855 #99C138 #38C1A5
square
#6038C1 #C13855 #99C138 #38C1A5
split-complementary
#6038C1 #C1A538 #55C138
monochromatic
#311C62 #482A92 #6038C1 #8464D2 #AA94E0

Accessibility & contrast

On white

7.41
#6038C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6038C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6038C1
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6038C1#FFFFFF#000000##FFFFFF
##6038C11.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#3E5C79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6038c1;
/* rgb */ color: rgb(96, 56, 193);
/* oklch */ color: oklch(47.3% 0.200 289.9);
Tailwind
colors: {
  custom: {
    50: '#9672d5',
    500: '#6038c1',
    950: '#000000',
  },
}
SCSS
$custom: #6038c1;
$custom-light: #9672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6038c1",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 257.518,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.20007,
    "h": 289.9
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#6038C1
secondary
#B8CB8A
accent
#DE49B3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6038C1

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

Preview Lab → · Contrast checker → · Palette generator →

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