#35246F#35246F

#35246F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 32.9% C 0.123 H 288.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#35246F
RGBrgb(53, 36, 111)
HSLhsl(254, 51%, 29%)
HSVhsv(254, 68%, 44%)
CMYKcmyk(52.3%, 67.6%, 0%, 56.5%)
CIE-LABlab(20.70, 28.76, -40.90)
CIE-LCHlch(20.70, 50.00, 305.12°)
OKLaboklab(32.87% 0.0383 -0.1172)
OKLCHoklch(32.87% 0.123 288.1)
XYZxyz(4.9675, 3.1661, 15.3852)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35246F #5E6F24
analogous
#24396F #35246F #5B246F
triadic
#35246F #6F3524 #246F35
tetradic
#35246F #6F2439 #5E6F24 #246F5B
square
#35246F #6F2439 #5E6F24 #246F5B
split-complementary
#35246F #6F5B24 #396F24
monochromatic
#0B0717 #1F1541 #35246F #4B339D #6549C4

Accessibility & contrast

On white

12.86
#35246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#35246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35246F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35246F#FFFFFF#000000##FFFFFF
##35246F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#213646
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35246f;
/* rgb */ color: rgb(53, 36, 111);
/* oklch */ color: oklch(32.9% 0.123 288.1);
Tailwind
colors: {
  custom: {
    50: '#726099',
    500: '#35246f',
    950: '#000000',
  },
}
SCSS
$custom: #35246f;
$custom-light: #726099;
$custom-dark: #000000;
JSON
{
  "hex": "#35246f",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 253.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32865,
    "c": 0.1233,
    "h": 288.1
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#35246F
secondary
#8FA24D
accent
#DA4DBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #35246F

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

Preview Lab → · Contrast checker → · Palette generator →

#35246F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva