#6231C8#6231C8

#6231C8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.215 H 290.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6231C8
RGBrgb(98, 49, 200)
HSLhsl(259, 61%, 49%)
HSVhsv(259, 76%, 78%)
CMYKcmyk(51%, 75.5%, 0%, 21.6%)
CIE-LABlab(35.91, 55.49, -70.25)
CIE-LCHlch(35.91, 89.52, 308.30°)
OKLaboklab(47.25% 0.0752 -0.2018)
OKLCHoklch(47.25% 0.215 290.4)
XYZxyz(16.5576, 8.9627, 55.4899)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6231C8 #97C831
analogous
#314CC8 #6231C8 #AE31C8
triadic
#6231C8 #C86231 #31C862
tetradic
#6231C8 #C8314C #97C831 #31C8AE
square
#6231C8 #C8314C #97C831 #31C8AE
split-complementary
#6231C8 #C8AE31 #4CC831
monochromatic
#321966 #4A2597 #6231C8 #865FD8 #AB90E4

Accessibility & contrast

On white

7.52
#6231C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6231C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6231C8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6231C8#FFFFFF#000000##FFFFFF
##6231C81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#3E5B7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6231c8;
/* rgb */ color: rgb(98, 49, 200);
/* oklch */ color: oklch(47.2% 0.215 290.4);
Tailwind
colors: {
  custom: {
    50: '#996fda',
    500: '#6231c8',
    950: '#000000',
  },
}
SCSS
$custom: #6231c8;
$custom-light: #996fda;
$custom-dark: #000000;
JSON
{
  "hex": "#6231c8",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 259.47,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.21539,
    "h": 290.4
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6231C8

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

Preview Lab → · Contrast checker → · Palette generator →

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