#35247F#35247F

#35247F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.145 H 284.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#35247F
RGBrgb(53, 36, 127)
HSLhsl(251, 56%, 32%)
HSVhsv(251, 72%, 50%)
CMYKcmyk(58.3%, 71.7%, 0%, 50.2%)
CIE-LABlab(22.13, 33.96, -48.80)
CIE-LCHlch(22.13, 59.45, 304.83°)
OKLaboklab(34.34% 0.0358 -0.1404)
OKLCHoklch(34.34% 0.145 284.3)
XYZxyz(5.9287, 3.5506, 20.4475)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35247F #6E7F24
analogous
#24417F #35247F #63247F
triadic
#35247F #7F3524 #247F35
tetradic
#35247F #7F2441 #6E7F24 #247F63
square
#35247F #7F2441 #6E7F24 #247F63
split-complementary
#35247F #7F6324 #417F24
monochromatic
#0D0920 #21164F #35247F #4932AF #6750CD

Accessibility & contrast

On white

12.28
#35247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#35247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35247F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35247F#FFFFFF#000000##FFFFFF
##35247F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#113C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #35247f;
/* rgb */ color: rgb(53, 36, 127);
/* oklch */ color: oklch(34.3% 0.145 284.3);
Tailwind
colors: {
  custom: {
    50: '#7560a5',
    500: '#35247f',
    950: '#000000',
  },
}
SCSS
$custom: #35247f;
$custom-light: #7560a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35247f",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 251.209,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34337,
    "c": 0.14489,
    "h": 284.3
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#35247F
secondary
#9FB14E
accent
#DF49C3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35247F

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

Preview Lab → · Contrast checker → · Palette generator →

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