#6237A9#6237A9

#6237A9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.173 H 296.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6237A9
RGBrgb(98, 55, 169)
HSLhsl(263, 51%, 44%)
HSVhsv(263, 67%, 66%)
CMYKcmyk(42%, 67.5%, 0%, 33.7%)
CIE-LABlab(34.38, 44.12, -54.43)
CIE-LCHlch(34.38, 70.06, 309.02°)
OKLaboklab(45.36% 0.0761 -0.1554)
OKLCHoklch(45.36% 0.173 296.1)
XYZxyz(13.5627, 8.1933, 38.3953)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237A9 #7EA937
analogous
#3745A9 #6237A9 #9B37A9
triadic
#6237A9 #A96237 #37A962
tetradic
#6237A9 #A93745 #7EA937 #37A99B
square
#6237A9 #A93745 #7EA937 #37A99B
split-complementary
#6237A9 #A99B37 #45A937
monochromatic
#2C194D #47287B #6237A9 #8155C8 #A384D7

Accessibility & contrast

On white

7.96
#6237A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6237A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237A9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237A9#FFFFFF#000000##FFFFFF
##6237A91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#50526B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6237a9;
/* rgb */ color: rgb(98, 55, 169);
/* oklch */ color: oklch(45.4% 0.173 296.1);
Tailwind
colors: {
  custom: {
    50: '#9471c3',
    500: '#6237a9',
    950: '#000000',
  },
}
SCSS
$custom: #6237a9;
$custom-light: #9471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6237a9",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 262.632,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.17306,
    "h": 296.1
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#6237A9
secondary
#A6C07B
accent
#DA4DA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6237A9

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

Preview Lab → · Contrast checker → · Palette generator →

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