#35137F#35137F

#35137F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.163 H 287.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#35137F
RGBrgb(53, 19, 127)
HSLhsl(259, 74%, 29%)
HSVhsv(259, 85%, 50%)
CMYKcmyk(58.3%, 85%, 0%, 50.2%)
CIE-LABlab(19.03, 42.75, -53.88)
CIE-LCHlch(19.03, 68.78, 308.43°)
OKLaboklab(32.16% 0.0489 -0.1551)
OKLCHoklch(32.16% 0.163 287.5)
XYZxyz(5.5307, 2.7546, 20.3148)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35137F #5D7F13
analogous
#13277F #35137F #6B137F
triadic
#35137F #7F3513 #137F35
tetradic
#35137F #7F1327 #5D7F13 #137F6B
square
#35137F #7F1327 #5D7F13 #137F6B
split-complementary
#35137F #7F6B13 #277F13
monochromatic
#0B041B #1F0B4A #35137F #4B1BB4 #652DE0

Accessibility & contrast

On white

13.54
#35137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35137F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35137F#FFFFFF#000000##FFFFFF
##35137F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#12344A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35137f;
/* rgb */ color: rgb(53, 19, 127);
/* oklch */ color: oklch(32.2% 0.163 287.5);
Tailwind
colors: {
  custom: {
    50: '#7657a5',
    500: '#35137f',
    950: '#000000',
  },
}
SCSS
$custom: #35137f;
$custom-light: #7657a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35137f",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 258.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32164,
    "c": 0.16265,
    "h": 287.5
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#35137F
secondary
#8EB439
accent
#F137B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #35137F

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

Preview Lab → · Contrast checker → · Palette generator →

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