#35254F#35254F

#35254F is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.5% C 0.075 H 299.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#35254F
RGBrgb(53, 37, 79)
HSLhsl(263, 36%, 23%)
HSVhsv(263, 53%, 31%)
CMYKcmyk(32.9%, 53.2%, 0%, 69%)
CIE-LABlab(18.56, 18.02, -23.19)
CIE-LCHlch(18.56, 29.37, 307.85°)
OKLaboklab(30.53% 0.0369 -0.0652)
OKLCHoklch(30.53% 0.075 299.5)
XYZxyz(3.5407, 2.6445, 7.7195)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35254F #3F4F25
analogous
#252A4F #35254F #4A254F
triadic
#35254F #4F3525 #254F35
tetradic
#35254F #4F252A #3F4F25 #254F4A
square
#35254F #4F252A #3F4F25 #254F4A
split-complementary
#35254F #4F4A25 #2A4F25
monochromatic
#0E0A15 #191125 #35254F #513979 #6D4CA2

Accessibility & contrast

On white

13.73
#35254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#35254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35254F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35254F#FFFFFF#000000##FFFFFF
##35254F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#302D36
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #35254f;
/* rgb */ color: rgb(53, 37, 79);
/* oklch */ color: oklch(30.5% 0.075 299.5);
Tailwind
colors: {
  custom: {
    50: '#6e6080',
    500: '#35254f',
    950: '#000000',
  },
}
SCSS
$custom: #35254f;
$custom-light: #6e6080;
$custom-dark: #000000;
JSON
{
  "hex": "#35254f",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 262.857,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30531,
    "c": 0.07495,
    "h": 299.5
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#35254F
secondary
#6E824E
accent
#CC5CA1
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #35254F

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

Preview Lab → · Contrast checker → · Palette generator →

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