#35267E#35267E

#35267E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.141 H 284.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#35267E
RGBrgb(53, 38, 126)
HSLhsl(250, 54%, 32%)
HSVhsv(250, 70%, 49%)
CMYKcmyk(57.9%, 69.8%, 0%, 50.6%)
CIE-LABlab(22.48, 32.42, -47.59)
CIE-LCHlch(22.48, 57.59, 304.26°)
OKLaboklab(34.56% 0.0341 -0.1369)
OKLCHoklch(34.56% 0.141 284)
XYZxyz(5.9261, 3.6491, 20.1267)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35267E #6F7E26
analogous
#26437E #35267E #61267E
triadic
#35267E #7E3526 #267E35
tetradic
#35267E #7E2643 #6F7E26 #267E61
square
#35267E #7E2643 #6F7E26 #267E61
split-complementary
#35267E #7E6126 #437E26
monochromatic
#0D0A20 #21184F #35267E #4934AD #6853CB

Accessibility & contrast

On white

12.14
#35267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#35267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35267E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35267E#FFFFFF#000000##FFFFFF
##35267E1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#123D4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35267e;
/* rgb */ color: rgb(53, 38, 126);
/* oklch */ color: oklch(34.6% 0.141 284.0);
Tailwind
colors: {
  custom: {
    50: '#7561a4',
    500: '#35267e',
    950: '#000000',
  },
}
SCSS
$custom: #35267e;
$custom-light: #7561a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35267e",
  "rgb": {
    "r": 53,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 250.227,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.14105,
    "h": 284
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35267E

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

Preview Lab → · Contrast checker → · Palette generator →

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