#35137E#35137E

#35137E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.161 H 287.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#35137E
RGBrgb(53, 19, 126)
HSLhsl(259, 74%, 28%)
HSVhsv(259, 85%, 49%)
CMYKcmyk(57.9%, 84.9%, 0%, 50.6%)
CIE-LABlab(18.92, 42.46, -53.43)
CIE-LCHlch(18.92, 68.25, 308.48°)
OKLaboklab(32.06% 0.0493 -0.1538)
OKLCHoklch(32.06% 0.161 287.8)
XYZxyz(5.4658, 2.7287, 19.9733)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35137E #5C7E13
analogous
#13277E #35137E #6A137E
triadic
#35137E #7E3513 #137E35
tetradic
#35137E #7E1327 #5C7E13 #137E6A
square
#35137E #7E1327 #5C7E13 #137E6A
split-complementary
#35137E #7E6A13 #277E13
monochromatic
#0B041B #1F0B49 #35137E #4B1BB3 #652CDF

Accessibility & contrast

On white

13.59
#35137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#35137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35137E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35137E#FFFFFF#000000##FFFFFF
##35137E1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#14344A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35137e;
/* rgb */ color: rgb(53, 19, 126);
/* oklch */ color: oklch(32.1% 0.161 287.8);
Tailwind
colors: {
  custom: {
    50: '#7657a4',
    500: '#35137e',
    950: '#000000',
  },
}
SCSS
$custom: #35137e;
$custom-light: #7657a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35137e",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 259.065,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32055,
    "c": 0.16149,
    "h": 287.8
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#35137E
secondary
#8DB439
accent
#F037B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35137E

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

Preview Lab → · Contrast checker → · Palette generator →

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