#6237CD#6237CD

#6237CD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.215 H 288.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6237CD
RGBrgb(98, 55, 205)
HSLhsl(257, 60%, 51%)
HSVhsv(257, 73%, 80%)
CMYKcmyk(52.2%, 73.2%, 0%, 19.6%)
CIE-LABlab(37.36, 53.99, -70.77)
CIE-LCHlch(37.36, 89.02, 307.34°)
OKLaboklab(48.41% 0.0693 -0.2034)
OKLCHoklch(48.41% 0.215 288.8)
XYZxyz(17.4194, 9.7360, 58.7072)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237CD #A2CD37
analogous
#3757CD #6237CD #AD37CD
triadic
#6237CD #CD6237 #37CD62
tetradic
#6237CD #CD3757 #A2CD37 #37CDAD
square
#6237CD #CD3757 #A2CD37 #37CDAD
split-complementary
#6237CD #CDAD37 #57CD37
monochromatic
#331C6E #4A289F #6237CD #8868D9 #AF99E5

Accessibility & contrast

On white

7.12
#6237CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6237CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237CD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237CD#FFFFFF#000000##FFFFFF
##6237CD1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#39607F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6237cd;
/* rgb */ color: rgb(98, 55, 205);
/* oklch */ color: oklch(48.4% 0.215 288.8);
Tailwind
colors: {
  custom: {
    50: '#9972dd',
    500: '#6237cd',
    950: '#000000',
  },
}
SCSS
$custom: #6237cd;
$custom-light: #9972dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6237cd",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 257.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.21489,
    "h": 288.8
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#6237CD
secondary
#BED18F
accent
#E345B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6237CD

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

Preview Lab → · Contrast checker → · Palette generator →

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