#3A265F#3A265F

#3A265F is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.098 H 296.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#3A265F
RGBrgb(58, 38, 95)
HSLhsl(261, 43%, 26%)
HSVhsv(261, 60%, 37%)
CMYKcmyk(38.9%, 60%, 0%, 62.7%)
CIE-LABlab(20.49, 23.65, -30.77)
CIE-LCHlch(20.49, 38.81, 307.55°)
OKLaboklab(32.45% 0.044 -0.0872)
OKLCHoklch(32.45% 0.098 296.8)
XYZxyz(4.5031, 3.1119, 11.1877)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A265F #4B5F26
analogous
#262E5F #3A265F #56265F
triadic
#3A265F #5F3A26 #265F3A
tetradic
#3A265F #5F262E #4B5F26 #265F56
square
#3A265F #5F262E #4B5F26 #265F56
split-complementary
#3A265F #5F5626 #2E5F26
monochromatic
#0D0916 #1F1533 #3A265F #55378B #6F49B6

Accessibility & contrast

On white

12.94
#3A265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3A265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A265F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A265F#FFFFFF#000000##FFFFFF
##3A265F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3261
Deuteranopia (green-blind)
#12315E
Tritanopia (blue-blind)
#31323E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a265f;
/* rgb */ color: rgb(58, 38, 95);
/* oklch */ color: oklch(32.4% 0.098 296.8);
Tailwind
colors: {
  custom: {
    50: '#73618d',
    500: '#3a265f',
    950: '#000000',
  },
}
SCSS
$custom: #3a265f;
$custom-light: #73618d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a265f",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 261.053,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32446,
    "c": 0.09772,
    "h": 296.8
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#3A265F
secondary
#7A924F
accent
#D355A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3A265F

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

Preview Lab → · Contrast checker → · Palette generator →

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