#35267D#35267D

#35267D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.140 H 284.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#35267D
RGBrgb(53, 38, 125)
HSLhsl(250, 53%, 32%)
HSVhsv(250, 70%, 49%)
CMYKcmyk(57.6%, 69.6%, 0%, 51%)
CIE-LABlab(22.39, 32.09, -47.11)
CIE-LCHlch(22.39, 57.00, 304.27°)
OKLaboklab(34.47% 0.0343 -0.1354)
OKLCHoklch(34.47% 0.14 284.2)
XYZxyz(5.8619, 3.6234, 19.7886)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35267D #6E7D26
analogous
#26437D #35267D #61267D
triadic
#35267D #7D3526 #267D35
tetradic
#35267D #7D2643 #6E7D26 #267D61
square
#35267D #7D2643 #6E7D26 #267D61
split-complementary
#35267D #7D6126 #437D26
monochromatic
#0D091F #21184E #35267D #4934AC #6753CB

Accessibility & contrast

On white

12.18
#35267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#35267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35267D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35267D#FFFFFF#000000##FFFFFF
##35267D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35267d;
/* rgb */ color: rgb(53, 38, 125);
/* oklch */ color: oklch(34.5% 0.140 284.2);
Tailwind
colors: {
  custom: {
    50: '#7461a3',
    500: '#35267d',
    950: '#000000',
  },
}
SCSS
$custom: #35267d;
$custom-light: #7461a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35267d",
  "rgb": {
    "r": 53,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 250.345,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34467,
    "c": 0.13972,
    "h": 284.2
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#35267D
secondary
#9FAF50
accent
#DD4BC4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35267D

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

Preview Lab → · Contrast checker → · Palette generator →

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