#6237BD#6237BD

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

Color values

HEX#6237BD
RGBrgb(98, 55, 189)
HSLhsl(259, 55%, 48%)
HSVhsv(259, 71%, 74%)
CMYKcmyk(48.1%, 70.9%, 0%, 25.9%)
CIE-LABlab(35.99, 49.58, -63.68)
CIE-LCHlch(35.99, 80.71, 307.90°)
OKLaboklab(47.01% 0.0727 -0.1826)
OKLCHoklch(47.01% 0.197 291.7)
XYZxyz(15.5859, 9.0026, 49.0507)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237BD #92BD37
analogous
#374FBD #6237BD #A537BD
triadic
#6237BD #BD6237 #37BD62
tetradic
#6237BD #BD374F #92BD37 #37BDA5
square
#6237BD #BD374F #92BD37 #37BDA5
split-complementary
#6237BD #BDA537 #4FBD37
monochromatic
#311B5E #49298E #6237BD #8460D1 #A990DF

Accessibility & contrast

On white

7.50
#6237BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6237BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237BD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237BD#FFFFFF#000000##FFFFFF
##6237BD1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#455A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6237bd;
/* rgb */ color: rgb(98, 55, 189);
/* oklch */ color: oklch(47.0% 0.197 291.7);
Tailwind
colors: {
  custom: {
    50: '#9771d2',
    500: '#6237bd',
    950: '#000000',
  },
}
SCSS
$custom: #6237bd;
$custom-light: #9771d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6237bd",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 259.254,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.19656,
    "h": 291.7
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#6237BD
secondary
#B4C986
accent
#DE4AAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6237BD

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

Preview Lab → · Contrast checker → · Palette generator →

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