#35257D#35257D

#35257D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.141 H 284.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#35257D
RGBrgb(53, 37, 125)
HSLhsl(251, 54%, 32%)
HSVhsv(251, 70%, 49%)
CMYKcmyk(57.6%, 70.4%, 0%, 51%)
CIE-LABlab(22.16, 32.70, -47.47)
CIE-LCHlch(22.16, 57.65, 304.56°)
OKLaboklab(34.31% 0.0353 -0.1365)
OKLCHoklch(34.31% 0.141 284.5)
XYZxyz(5.8303, 3.5603, 19.7781)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35257D #6D7D25
analogous
#25417D #35257D #61257D
triadic
#35257D #7D3525 #257D35
tetradic
#35257D #7D2541 #6D7D25 #257D61
square
#35257D #7D2541 #6D7D25 #257D61
split-complementary
#35257D #7D6125 #417D25
monochromatic
#0D091F #21174E #35257D #4933AC #6751CB

Accessibility & contrast

On white

12.26
#35257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#35257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35257D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35257D#FFFFFF#000000##FFFFFF
##35257D1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35257d;
/* rgb */ color: rgb(53, 37, 125);
/* oklch */ color: oklch(34.3% 0.141 284.5);
Tailwind
colors: {
  custom: {
    50: '#7461a3',
    500: '#35257d',
    950: '#000000',
  },
}
SCSS
$custom: #35257d;
$custom-light: #7461a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35257d",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 250.909,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.14099,
    "h": 284.5
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#35257D
secondary
#9EAF4F
accent
#DE4AC3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35257D

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

Preview Lab → · Contrast checker → · Palette generator →

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