#35267B#35267B

#35267B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.137 H 284.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#35267B
RGBrgb(53, 38, 123)
HSLhsl(251, 53%, 32%)
HSVhsv(251, 69%, 48%)
CMYKcmyk(56.9%, 69.1%, 0%, 51.8%)
CIE-LABlab(22.21, 31.44, -46.13)
CIE-LCHlch(22.21, 55.82, 304.27°)
OKLaboklab(34.28% 0.0346 -0.1326)
OKLCHoklch(34.28% 0.137 284.6)
XYZxyz(5.7354, 3.5728, 19.1225)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35267B #6C7B26
analogous
#26427B #35267B #60267B
triadic
#35267B #7B3526 #267B35
tetradic
#35267B #7B2642 #6C7B26 #267B60
square
#35267B #7B2642 #6C7B26 #267B60
split-complementary
#35267B #7B6026 #427B26
monochromatic
#0D091D #21184C #35267B #4934AA #6752CA

Accessibility & contrast

On white

12.25
#35267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#35267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35267B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35267B#FFFFFF#000000##FFFFFF
##35267B1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#163C4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #35267b;
/* rgb */ color: rgb(53, 38, 123);
/* oklch */ color: oklch(34.3% 0.137 284.6);
Tailwind
colors: {
  custom: {
    50: '#7461a2',
    500: '#35267b',
    950: '#000000',
  },
}
SCSS
$custom: #35267b;
$custom-light: #7461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35267b",
  "rgb": {
    "r": 53,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 250.588,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34282,
    "c": 0.13701,
    "h": 284.6
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#35267B
secondary
#9DAD50
accent
#DC4CC3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35267B

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

Preview Lab → · Contrast checker → · Palette generator →

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