#35247A#35247A

#35247A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.138 H 285.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#35247A
RGBrgb(53, 36, 122)
HSLhsl(252, 54%, 31%)
HSVhsv(252, 70%, 48%)
CMYKcmyk(56.6%, 70.5%, 0%, 52.2%)
CIE-LABlab(21.67, 32.33, -46.38)
CIE-LCHlch(21.67, 56.53, 304.88°)
OKLaboklab(33.87% 0.0367 -0.1333)
OKLCHoklch(33.87% 0.138 285.4)
XYZxyz(5.6109, 3.4235, 18.7737)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35247A #697A24
analogous
#243E7A #35247A #60247A
triadic
#35247A #7A3524 #247A35
tetradic
#35247A #7A243E #697A24 #247A60
square
#35247A #7A243E #697A24 #247A60
split-complementary
#35247A #7A6024 #3E7A24
monochromatic
#0C081B #20164B #35247A #4A32A9 #664ECB

Accessibility & contrast

On white

12.46
#35247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#35247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35247A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35247A#FFFFFF#000000##FFFFFF
##35247A1.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#173A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35247a;
/* rgb */ color: rgb(53, 36, 122);
/* oklch */ color: oklch(33.9% 0.138 285.4);
Tailwind
colors: {
  custom: {
    50: '#7460a1',
    500: '#35247a',
    950: '#000000',
  },
}
SCSS
$custom: #35247a;
$custom-light: #7460a1;
$custom-dark: #000000;
JSON
{
  "hex": "#35247a",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 251.86,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.13826,
    "h": 285.4
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#35247A
secondary
#9AAC4D
accent
#DE4AC1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35247A

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

Preview Lab → · Contrast checker → · Palette generator →

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