#35247C#35247C

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

Color values

HEX#35247C
RGBrgb(53, 36, 124)
HSLhsl(252, 55%, 31%)
HSVhsv(252, 71%, 49%)
CMYKcmyk(57.3%, 71%, 0%, 51.4%)
CIE-LABlab(21.85, 32.98, -47.35)
CIE-LCHlch(21.85, 57.71, 304.86°)
OKLaboklab(34.05% 0.0364 -0.1361)
OKLCHoklch(34.05% 0.141 285)
XYZxyz(5.7361, 3.4735, 19.4331)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35247C #6B7C24
analogous
#243F7C #35247C #61247C
triadic
#35247C #7C3524 #247C35
tetradic
#35247C #7C243F #6B7C24 #247C61
square
#35247C #7C243F #6B7C24 #247C61
split-complementary
#35247C #7C6124 #3F7C24
monochromatic
#0C081D #21164D #35247C #4932AB #674FCC

Accessibility & contrast

On white

12.39
#35247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#35247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35247C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35247C#FFFFFF#000000##FFFFFF
##35247C1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#153B4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35247c;
/* rgb */ color: rgb(53, 36, 124);
/* oklch */ color: oklch(34.1% 0.141 285.0);
Tailwind
colors: {
  custom: {
    50: '#7460a3',
    500: '#35247c',
    950: '#000000',
  },
}
SCSS
$custom: #35247c;
$custom-light: #7460a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35247c",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 251.591,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.14093,
    "h": 285
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#35247C
secondary
#9CAE4D
accent
#DE49C2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35247C

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

Preview Lab → · Contrast checker → · Palette generator →

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