#3A264E#3A264E

#3A264E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.073 H 305.7°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3A264E
RGBrgb(58, 38, 78)
HSLhsl(270, 34%, 23%)
HSVhsv(270, 51%, 31%)
CMYKcmyk(25.6%, 51.3%, 0%, 69.4%)
CIE-LABlab(19.37, 18.69, -21.19)
CIE-LCHlch(19.37, 28.25, 311.41°)
OKLaboklab(31.26% 0.0425 -0.0592)
OKLCHoklch(31.26% 0.073 305.7)
XYZxyz(3.8129, 2.8359, 7.5528)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A264E #3A4E26
analogous
#26264E #3A264E #4E264E
triadic
#3A264E #4E3A26 #264E3A
tetradic
#3A264E #4E2626 #3A4E26 #264E4E
square
#3A264E #4E2626 #3A4E26 #264E4E
split-complementary
#3A264E #4E4E26 #264E26
monochromatic
#0F0A15 #1B1225 #3A264E #593A77 #774EA0

Accessibility & contrast

On white

13.40
#3A264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3A264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A264E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A264E#FFFFFF#000000##FFFFFF
##3A264E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#372D36
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a264e;
/* rgb */ color: rgb(58, 38, 78);
/* oklch */ color: oklch(31.3% 0.073 305.7);
Tailwind
colors: {
  custom: {
    50: '#716180',
    500: '#3a264e',
    950: '#000000',
  },
}
SCSS
$custom: #3a264e;
$custom-light: #716180;
$custom-dark: #000000;
JSON
{
  "hex": "#3a264e",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 270,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3126,
    "c": 0.0729,
    "h": 305.7
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#3A264E
secondary
#68814F
accent
#CB5D94
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3A264E

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

Preview Lab → · Contrast checker → · Palette generator →

#3A264E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva