#6235B3#6235B3

#6235B3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.187 H 294.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6235B3
RGBrgb(98, 53, 179)
HSLhsl(261, 54%, 45%)
HSVhsv(261, 70%, 70%)
CMYKcmyk(45.3%, 70.4%, 0%, 29.8%)
CIE-LABlab(34.80, 47.87, -59.72)
CIE-LCHlch(34.80, 76.54, 308.72°)
OKLaboklab(45.9% 0.0765 -0.171)
OKLCHoklch(45.9% 0.187 294.1)
XYZxyz(14.4446, 8.3971, 43.4988)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235B3 #86B335
analogous
#3547B3 #6235B3 #A135B3
triadic
#6235B3 #B36235 #35B362
tetradic
#6235B3 #B33547 #86B335 #35B3A1
square
#6235B3 #B33547 #86B335 #35B3A1
split-complementary
#6235B3 #B3A135 #47B335
monochromatic
#2E1955 #482784 #6235B3 #8258CD #A587DB

Accessibility & contrast

On white

7.84
#6235B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6235B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235B3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235B3#FFFFFF#000000##FFFFFF
##6235B31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#4B5570
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6235b3;
/* rgb */ color: rgb(98, 53, 179);
/* oklch */ color: oklch(45.9% 0.187 294.1);
Tailwind
colors: {
  custom: {
    50: '#9670cb',
    500: '#6235b3',
    950: '#000000',
  },
}
SCSS
$custom: #6235b3;
$custom-light: #9670cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6235b3",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 261.429,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.18732,
    "h": 294.1
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#6235B3
secondary
#ACC57F
accent
#DE4AA9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6235B3

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

Preview Lab → · Contrast checker → · Palette generator →

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