#6237CF#6237CF

#6237CF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.217 H 288.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6237CF
RGBrgb(98, 55, 207)
HSLhsl(257, 61%, 51%)
HSVhsv(257, 73%, 81%)
CMYKcmyk(52.7%, 73.4%, 0%, 18.8%)
CIE-LABlab(37.54, 54.54, -71.64)
CIE-LCHlch(37.54, 90.04, 307.28°)
OKLaboklab(48.58% 0.0688 -0.206)
OKLCHoklch(48.58% 0.217 288.5)
XYZxyz(17.6624, 9.8332, 59.9867)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237CF #A4CF37
analogous
#3758CF #6237CF #AE37CF
triadic
#6237CF #CF6237 #37CF62
tetradic
#6237CF #CF3758 #A4CF37 #37CFAE
square
#6237CF #CF3758 #A4CF37 #37CFAE
split-complementary
#6237CF #CFAE37 #58CF37
monochromatic
#331B71 #4A27A2 #6237CF #8968DB #AF9AE7

Accessibility & contrast

On white

7.08
#6237CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6237CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237CF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237CF#FFFFFF#000000##FFFFFF
##6237CF1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#376080
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6237cf;
/* rgb */ color: rgb(98, 55, 207);
/* oklch */ color: oklch(48.6% 0.217 288.5);
Tailwind
colors: {
  custom: {
    50: '#9972df',
    500: '#6237cf',
    950: '#000000',
  },
}
SCSS
$custom: #6237cf;
$custom-light: #9972df;
$custom-dark: #000000;
JSON
{
  "hex": "#6237cf",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 256.974,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.21715,
    "h": 288.5
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#6237CF
secondary
#BFD28F
accent
#E443B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6237CF

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

Preview Lab → · Contrast checker → · Palette generator →

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