#35247D#35247D

#35247D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.142 H 284.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#35247D
RGBrgb(53, 36, 125)
HSLhsl(251, 55%, 32%)
HSVhsv(251, 71%, 49%)
CMYKcmyk(57.6%, 71.2%, 0%, 51%)
CIE-LABlab(21.94, 33.31, -47.83)
CIE-LCHlch(21.94, 58.29, 304.85°)
OKLaboklab(34.15% 0.0362 -0.1376)
OKLCHoklch(34.15% 0.142 284.7)
XYZxyz(5.7996, 3.4990, 19.7678)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35247D #6C7D24
analogous
#24407D #35247D #62247D
triadic
#35247D #7D3524 #247D35
tetradic
#35247D #7D2440 #6C7D24 #247D62
square
#35247D #7D2440 #6C7D24 #247D62
split-complementary
#35247D #7D6224 #407D24
monochromatic
#0D091E #21164D #35247D #4932AD #674FCC

Accessibility & contrast

On white

12.35
#35247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#35247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35247D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35247D#FFFFFF#000000##FFFFFF
##35247D1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#133B4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #35247d;
/* rgb */ color: rgb(53, 36, 125);
/* oklch */ color: oklch(34.1% 0.142 284.7);
Tailwind
colors: {
  custom: {
    50: '#7560a3',
    500: '#35247d',
    950: '#000000',
  },
}
SCSS
$custom: #35247d;
$custom-light: #7560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35247d",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 251.461,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.14225,
    "h": 284.7
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#35247D
secondary
#9DAF4D
accent
#DF49C2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35247D

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

Preview Lab → · Contrast checker → · Palette generator →

#35247D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva