#35124F#35124F

#35124F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.107 H 306.8°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#35124F
RGBrgb(53, 18, 79)
HSLhsl(274, 63%, 19%)
HSVhsv(274, 77%, 31%)
CMYKcmyk(32.9%, 77.2%, 0%, 69%)
CIE-LABlab(14.14, 29.76, -30.28)
CIE-LCHlch(14.14, 42.46, 314.51°)
OKLaboklab(27.3% 0.0643 -0.0859)
OKLCHoklch(27.3% 0.107 306.8)
XYZxyz(3.0955, 1.7540, 7.5711)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35124F #2C4F12
analogous
#17124F #35124F #4F124B
triadic
#35124F #4F3512 #124F35
tetradic
#35124F #4F1712 #2C4F12 #124B4F
square
#35124F #4F1712 #2C4F12 #124B4F
split-complementary
#35124F #4B4F12 #124F17
monochromatic
#110619 #14071D #35124F #561D81 #7829B3

Accessibility & contrast

On white

15.55
#35124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#35124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35124F
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35124F#FFFFFF#000000##FFFFFF
##35124F1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#02244E
Tritanopia (blue-blind)
#31202F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35124f;
/* rgb */ color: rgb(53, 18, 79);
/* oklch */ color: oklch(27.3% 0.107 306.8);
Tailwind
colors: {
  custom: {
    50: '#6f5381',
    500: '#35124f',
    950: '#000000',
  },
}
SCSS
$custom: #35124f;
$custom-light: #6f5381;
$custom-dark: #000000;
JSON
{
  "hex": "#35124f",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 274.426,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27301,
    "c": 0.10733,
    "h": 306.8
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#35124F
secondary
#588835
accent
#E64288
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #35124F

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

Preview Lab → · Contrast checker → · Palette generator →

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