#6237BE#6237BE

#6237BE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.198 H 291.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6237BE
RGBrgb(98, 55, 190)
HSLhsl(259, 55%, 48%)
HSVhsv(259, 71%, 75%)
CMYKcmyk(48.4%, 71.1%, 0%, 25.5%)
CIE-LABlab(36.07, 49.86, -64.13)
CIE-LCHlch(36.07, 81.23, 307.86°)
OKLaboklab(47.09% 0.0725 -0.1839)
OKLCHoklch(47.09% 0.198 291.5)
XYZxyz(15.6948, 9.0462, 49.6243)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237BE #93BE37
analogous
#374FBE #6237BE #A537BE
triadic
#6237BE #BE6237 #37BE62
tetradic
#6237BE #BE374F #93BE37 #37BEA5
square
#6237BE #BE374F #93BE37 #37BEA5
split-complementary
#6237BE #BEA537 #4FBE37
monochromatic
#311C5F #4A298F #6237BE #8561D1 #A990DF

Accessibility & contrast

On white

7.47
#6237BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6237BE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237BE#FFFFFF#000000##FFFFFF
##6237BE1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6237be;
/* rgb */ color: rgb(98, 55, 190);
/* oklch */ color: oklch(47.1% 0.198 291.5);
Tailwind
colors: {
  custom: {
    50: '#9771d3',
    500: '#6237be',
    950: '#000000',
  },
}
SCSS
$custom: #6237be;
$custom-light: #9771d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6237be",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 259.111,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.19771,
    "h": 291.5
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#6237BE
secondary
#B5CA87
accent
#DE49AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6237BE

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

Preview Lab → · Contrast checker → · Palette generator →

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