#6237BF#6237BF

#6237BF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.199 H 291.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6237BF
RGBrgb(98, 55, 191)
HSLhsl(259, 55%, 48%)
HSVhsv(259, 71%, 75%)
CMYKcmyk(48.7%, 71.2%, 0%, 25.1%)
CIE-LABlab(36.16, 50.13, -64.58)
CIE-LCHlch(36.16, 81.76, 307.82°)
OKLaboklab(47.18% 0.0723 -0.1852)
OKLCHoklch(47.18% 0.199 291.3)
XYZxyz(15.8045, 9.0900, 50.2019)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237BF #94BF37
analogous
#3750BF #6237BF #A637BF
triadic
#6237BF #BF6237 #37BF62
tetradic
#6237BF #BF3750 #94BF37 #37BFA6
square
#6237BF #BF3750 #94BF37 #37BFA6
split-complementary
#6237BF #BFA637 #50BF37
monochromatic
#311C60 #4A298F #6237BF #8562D2 #AA91DF

Accessibility & contrast

On white

7.45
#6237BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6237BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237BF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237BF#FFFFFF#000000##FFFFFF
##6237BF1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#445A77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6237bf;
/* rgb */ color: rgb(98, 55, 191);
/* oklch */ color: oklch(47.2% 0.199 291.3);
Tailwind
colors: {
  custom: {
    50: '#9772d3',
    500: '#6237bf',
    950: '#000000',
  },
}
SCSS
$custom: #6237bf;
$custom-light: #9772d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6237bf",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 258.971,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.19887,
    "h": 291.3
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#6237BF
secondary
#B5CA88
accent
#DF49AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6237BF

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

Preview Lab → · Contrast checker → · Palette generator →

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