#6237BB#6237BB

#6237BB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.194 H 292.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6237BB
RGBrgb(98, 55, 187)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(47.6%, 70.6%, 0%, 26.7%)
CIE-LABlab(35.82, 49.03, -62.78)
CIE-LCHlch(35.82, 79.66, 307.99°)
OKLaboklab(46.84% 0.0731 -0.1799)
OKLCHoklch(46.84% 0.194 292.1)
XYZxyz(15.3703, 8.9164, 47.9153)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237BB #90BB37
analogous
#374EBB #6237BB #A437BB
triadic
#6237BB #BB6237 #37BB62
tetradic
#6237BB #BB374E #90BB37 #37BBA4
square
#6237BB #BB374E #90BB37 #37BBA4
split-complementary
#6237BB #BBA437 #4EBB37
monochromatic
#301B5C #49298C #6237BB #845FD0 #A88EDE

Accessibility & contrast

On white

7.54
#6237BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6237BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237BB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237BB#FFFFFF#000000##FFFFFF
##6237BB1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#465975
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6237bb;
/* rgb */ color: rgb(98, 55, 187);
/* oklch */ color: oklch(46.8% 0.194 292.1);
Tailwind
colors: {
  custom: {
    50: '#9771d0',
    500: '#6237bb',
    950: '#000000',
  },
}
SCSS
$custom: #6237bb;
$custom-light: #9771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6237bb",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 259.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.19424,
    "h": 292.1
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#6237BB
secondary
#B3C985
accent
#DE4AAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6237BB

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

Preview Lab → · Contrast checker → · Palette generator →

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