#6231C9#6231C9

#6231C9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.216 H 290.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6231C9
RGBrgb(98, 49, 201)
HSLhsl(259, 61%, 49%)
HSVhsv(259, 76%, 79%)
CMYKcmyk(51.2%, 75.6%, 0%, 21.2%)
CIE-LABlab(36.00, 55.76, -70.68)
CIE-LCHlch(36.00, 90.03, 308.27°)
OKLaboklab(47.34% 0.075 -0.2031)
OKLCHoklch(47.34% 0.217 290.3)
XYZxyz(16.6749, 9.0096, 56.1074)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6231C9 #98C931
analogous
#314CC9 #6231C9 #AE31C9
triadic
#6231C9 #C96231 #31C962
tetradic
#6231C9 #C9314C #98C931 #31C9AE
square
#6231C9 #C9314C #98C931 #31C9AE
split-complementary
#6231C9 #C9AE31 #4CC931
monochromatic
#321967 #4A2598 #6231C9 #865FD8 #AB90E4

Accessibility & contrast

On white

7.49
#6231C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6231C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6231C9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6231C9#FFFFFF#000000##FFFFFF
##6231C91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#3D5B7B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6231c9;
/* rgb */ color: rgb(98, 49, 201);
/* oklch */ color: oklch(47.3% 0.216 290.3);
Tailwind
colors: {
  custom: {
    50: '#996fdb',
    500: '#6231c9',
    950: '#000000',
  },
}
SCSS
$custom: #6231c9;
$custom-light: #996fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6231c9",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 259.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47338,
    "c": 0.2165,
    "h": 290.3
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#6231C9
secondary
#B8CF87
accent
#E444B0
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6231C9

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

Preview Lab → · Contrast checker → · Palette generator →

#6231C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva