#35247B#35247B

#35247B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.140 H 285.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#35247B
RGBrgb(53, 36, 123)
HSLhsl(252, 55%, 31%)
HSVhsv(252, 71%, 48%)
CMYKcmyk(56.9%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.76, 32.66, -46.86)
CIE-LCHlch(21.76, 57.12, 304.87°)
OKLaboklab(33.96% 0.0366 -0.1347)
OKLCHoklch(33.96% 0.14 285.2)
XYZxyz(5.6731, 3.4484, 19.1017)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35247B #6A7B24
analogous
#243E7B #35247B #60247B
triadic
#35247B #7B3524 #247B35
tetradic
#35247B #7B243E #6A7B24 #247B60
square
#35247B #7B243E #6A7B24 #247B60
split-complementary
#35247B #7B6024 #3E7B24
monochromatic
#0C081C #21164C #35247B #4932AA #674ECB

Accessibility & contrast

On white

12.43
#35247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35247B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35247B#FFFFFF#000000##FFFFFF
##35247B1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#163A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35247b;
/* rgb */ color: rgb(53, 36, 123);
/* oklch */ color: oklch(34.0% 0.140 285.2);
Tailwind
colors: {
  custom: {
    50: '#7460a2',
    500: '#35247b',
    950: '#000000',
  },
}
SCSS
$custom: #35247b;
$custom-light: #7460a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35247b",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 251.724,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.13959,
    "h": 285.2
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#35247B
secondary
#9BAD4D
accent
#DE4AC1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35247B

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

Preview Lab → · Contrast checker → · Palette generator →

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