#35246E#35246E

#35246E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.122 H 288.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#35246E
RGBrgb(53, 36, 110)
HSLhsl(254, 51%, 29%)
HSVhsv(254, 67%, 43%)
CMYKcmyk(51.8%, 67.3%, 0%, 56.9%)
CIE-LABlab(20.61, 28.44, -40.39)
CIE-LCHlch(20.61, 49.40, 305.15°)
OKLaboklab(32.78% 0.0384 -0.1157)
OKLCHoklch(32.78% 0.122 288.4)
XYZxyz(4.9127, 3.1442, 15.0969)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35246E #5D6E24
analogous
#24386E #35246E #5A246E
triadic
#35246E #6E3524 #246E35
tetradic
#35246E #6E2438 #5D6E24 #246E5A
square
#35246E #6E2438 #5D6E24 #246E5A
split-complementary
#35246E #6E5A24 #386E24
monochromatic
#0B0817 #1F1540 #35246E #4B339C #6549C3

Accessibility & contrast

On white

12.89
#35246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35246E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35246E#FFFFFF#000000##FFFFFF
##35246E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#213645
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35246e;
/* rgb */ color: rgb(53, 36, 110);
/* oklch */ color: oklch(32.8% 0.122 288.4);
Tailwind
colors: {
  custom: {
    50: '#726098',
    500: '#35246e',
    950: '#000000',
  },
}
SCSS
$custom: #35246e;
$custom-light: #726098;
$custom-dark: #000000;
JSON
{
  "hex": "#35246e",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 253.784,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32777,
    "c": 0.12191,
    "h": 288.4
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#35246E
secondary
#8EA14D
accent
#DA4EBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #35246E

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

Preview Lab → · Contrast checker → · Palette generator →

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