#35246C#35246C

#35246C is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.119 H 288.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#35246C
RGBrgb(53, 36, 108)
HSLhsl(254, 50%, 28%)
HSVhsv(254, 67%, 42%)
CMYKcmyk(50.9%, 66.7%, 0%, 57.6%)
CIE-LABlab(20.44, 27.79, -39.37)
CIE-LCHlch(20.44, 48.19, 305.22°)
OKLaboklab(32.6% 0.0386 -0.1127)
OKLCHoklch(32.6% 0.119 288.9)
XYZxyz(4.8051, 3.1011, 14.5298)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35246C #5B6C24
analogous
#24376C #35246C #59246C
triadic
#35246C #6C3524 #246C35
tetradic
#35246C #6C2437 #5B6C24 #246C59
square
#35246C #6C2437 #5B6C24 #246C59
split-complementary
#35246C #6C5924 #376C24
monochromatic
#0B0817 #1E153E #35246C #4C339A #6548C2

Accessibility & contrast

On white

12.96
#35246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#35246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35246C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35246C#FFFFFF#000000##FFFFFF
##35246C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#233544
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #35246c;
/* rgb */ color: rgb(53, 36, 108);
/* oklch */ color: oklch(32.6% 0.119 288.9);
Tailwind
colors: {
  custom: {
    50: '#726097',
    500: '#35246c',
    950: '#000000',
  },
}
SCSS
$custom: #35246c;
$custom-light: #726097;
$custom-dark: #000000;
JSON
{
  "hex": "#35246c",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 254.167,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32602,
    "c": 0.11912,
    "h": 288.9
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#35246C
secondary
#8C9F4D
accent
#DA4EB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35246C

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

Preview Lab → · Contrast checker → · Palette generator →

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