#6237A7#6237A7

#6237A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.171 H 296.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6237A7
RGBrgb(98, 55, 167)
HSLhsl(263, 50%, 44%)
HSVhsv(263, 67%, 65%)
CMYKcmyk(41.3%, 67.1%, 0%, 34.5%)
CIE-LABlab(34.23, 43.57, -53.48)
CIE-LCHlch(34.23, 68.99, 309.17°)
OKLaboklab(45.2% 0.0764 -0.1526)
OKLCHoklch(45.2% 0.171 296.6)
XYZxyz(13.3764, 8.1188, 37.4141)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237A7 #7CA737
analogous
#3744A7 #6237A7 #9A37A7
triadic
#6237A7 #A76237 #37A762
tetradic
#6237A7 #A73744 #7CA737 #37A79A
square
#6237A7 #A73744 #7CA737 #37A79A
split-complementary
#6237A7 #A79A37 #44A737
monochromatic
#2C194B #472879 #6237A7 #8054C7 #A382D6

Accessibility & contrast

On white

8.00
#6237A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6237A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237A7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237A7#FFFFFF#000000##FFFFFF
##6237A71.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#51516A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6237a7;
/* rgb */ color: rgb(98, 55, 167);
/* oklch */ color: oklch(45.2% 0.171 296.6);
Tailwind
colors: {
  custom: {
    50: '#9471c2',
    500: '#6237a7',
    950: '#000000',
  },
}
SCSS
$custom: #6237a7;
$custom-light: #9471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6237a7",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 263.036,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.17067,
    "h": 296.6
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#6237A7
secondary
#A5C07A
accent
#DA4EA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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