#32074E#32074E

#32074E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.119 H 306.8°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#32074E
RGBrgb(50, 7, 78)
HSLhsl(276, 84%, 17%)
HSVhsv(276, 91%, 31%)
CMYKcmyk(35.9%, 91%, 0%, 69.4%)
CIE-LABlab(11.83, 33.86, -33.37)
CIE-LCHlch(11.83, 47.54, 315.42°)
OKLaboklab(25.54% 0.0711 -0.095)
OKLCHoklch(25.54% 0.119 306.8)
XYZxyz(2.7662, 1.3802, 7.3269)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32074E #234E07
analogous
#0F074E #32074E #4E0747
triadic
#32074E #4E3207 #074E32
tetradic
#32074E #4E0F07 #234E07 #07474E
square
#32074E #4E0F07 #234E07 #07474E
split-complementary
#32074E #474E07 #074E0F
monochromatic
#12031C #12031C #32074E #560C86 #7A11BE

Accessibility & contrast

On white

16.46
#32074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#32074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32074E
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32074E#FFFFFF#000000##FFFFFF
##32074E1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#2D1B2C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #32074e;
/* rgb */ color: rgb(50, 7, 78);
/* oklch */ color: oklch(25.5% 0.119 306.8);
Tailwind
colors: {
  custom: {
    50: '#6e4d80',
    500: '#32074e',
    950: '#000000',
  },
}
SCSS
$custom: #32074e;
$custom-light: #6e4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#32074e",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 276.338,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25543,
    "c": 0.11867,
    "h": 306.8
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#32074E
secondary
#4D8C25
accent
#FA2E7E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32074E

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

Preview Lab → · Contrast checker → · Palette generator →

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