#6235C4#6235C4

#6235C4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.207 H 290.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6235C4
RGBrgb(98, 53, 196)
HSLhsl(259, 57%, 49%)
HSVhsv(259, 73%, 77%)
CMYKcmyk(50%, 73%, 0%, 23.1%)
CIE-LABlab(36.23, 52.50, -67.39)
CIE-LCHlch(36.23, 85.43, 307.92°)
OKLaboklab(47.36% 0.073 -0.1935)
OKLCHoklch(47.36% 0.207 290.7)
XYZxyz(16.2711, 9.1277, 53.1184)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235C4 #97C435
analogous
#3550C4 #6235C4 #AA35C4
triadic
#6235C4 #C46235 #35C462
tetradic
#6235C4 #C43550 #97C435 #35C4AA
square
#6235C4 #C43550 #97C435 #35C4AA
split-complementary
#6235C4 #C4AA35 #50C435
monochromatic
#321B64 #4A2894 #6235C4 #8662D4 #AB92E1

Accessibility & contrast

On white

7.43
#6235C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6235C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235C4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235C4#FFFFFF#000000##FFFFFF
##6235C41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#405B7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6235c4;
/* rgb */ color: rgb(98, 53, 196);
/* oklch */ color: oklch(47.4% 0.207 290.7);
Tailwind
colors: {
  custom: {
    50: '#9871d7',
    500: '#6235c4',
    950: '#000000',
  },
}
SCSS
$custom: #6235c4;
$custom-light: #9871d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6235c4",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 258.881,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.2068,
    "h": 290.7
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#6235C4
secondary
#B7CC88
accent
#E147B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6235C4

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

Preview Lab → · Contrast checker → · Palette generator →

#6235C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva