#6237D1#6237D1

#6237D1 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.219 H 288.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6237D1
RGBrgb(98, 55, 209)
HSLhsl(257, 63%, 52%)
HSVhsv(257, 74%, 82%)
CMYKcmyk(53.1%, 73.7%, 0%, 18%)
CIE-LABlab(37.72, 55.09, -72.51)
CIE-LCHlch(37.72, 91.07, 307.23°)
OKLaboklab(48.76% 0.0683 -0.2085)
OKLCHoklch(48.76% 0.219 288.1)
XYZxyz(17.9084, 9.9316, 61.2826)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237D1 #A6D137
analogous
#3759D1 #6237D1 #AF37D1
triadic
#6237D1 #D16237 #37D162
tetradic
#6237D1 #D13759 #A6D137 #37D1AF
square
#6237D1 #D13759 #A6D137 #37D1AF
split-complementary
#6237D1 #D1AF37 #59D137
monochromatic
#331A73 #4926A5 #6237D1 #8969DC #B09BE8

Accessibility & contrast

On white

7.03
#6237D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6237D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237D1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237D1#FFFFFF#000000##FFFFFF
##6237D11.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD5
Deuteranopia (green-blind)
#0055CE
Tritanopia (blue-blind)
#366181
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6237d1;
/* rgb */ color: rgb(98, 55, 209);
/* oklch */ color: oklch(48.8% 0.219 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a72e0',
    500: '#6237d1',
    950: '#000000',
  },
}
SCSS
$custom: #6237d1;
$custom-light: #9a72e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6237d1",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 256.753,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.21941,
    "h": 288.1
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#6237D1
secondary
#C1D490
accent
#E642B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6237D1

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

Preview Lab → · Contrast checker → · Palette generator →

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