#6237BC#6237BC

#6237BC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.195 H 291.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6237BC
RGBrgb(98, 55, 188)
HSLhsl(259, 55%, 48%)
HSVhsv(259, 71%, 74%)
CMYKcmyk(47.9%, 70.7%, 0%, 26.3%)
CIE-LABlab(35.91, 49.31, -63.23)
CIE-LCHlch(35.91, 80.18, 307.95°)
OKLaboklab(46.92% 0.0729 -0.1813)
OKLCHoklch(46.92% 0.195 291.9)
XYZxyz(15.4777, 8.9593, 48.4810)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237BC #91BC37
analogous
#374FBC #6237BC #A437BC
triadic
#6237BC #BC6237 #37BC62
tetradic
#6237BC #BC374F #91BC37 #37BCA4
square
#6237BC #BC374F #91BC37 #37BCA4
split-complementary
#6237BC #BCA437 #4FBC37
monochromatic
#311B5D #49298D #6237BC #8460D0 #A98FDE

Accessibility & contrast

On white

7.52
#6237BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6237BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237BC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237BC#FFFFFF#000000##FFFFFF
##6237BC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#465976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6237bc;
/* rgb */ color: rgb(98, 55, 188);
/* oklch */ color: oklch(46.9% 0.195 291.9);
Tailwind
colors: {
  custom: {
    50: '#9771d1',
    500: '#6237bc',
    950: '#000000',
  },
}
SCSS
$custom: #6237bc;
$custom-light: #9771d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6237bc",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 259.398,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.1954,
    "h": 291.9
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#6237BC
secondary
#B3C986
accent
#DE4AAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6237BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6237BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva