#3B245D#3B245D

#3B245D is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.098 H 299.4°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#3B245D
RGBrgb(59, 36, 93)
HSLhsl(264, 44%, 25%)
HSVhsv(264, 61%, 36%)
CMYKcmyk(36.6%, 61.3%, 0%, 63.5%)
CIE-LABlab(19.97, 24.62, -30.27)
CIE-LCHlch(19.97, 39.01, 309.12°)
OKLaboklab(32.05% 0.0483 -0.0857)
OKLCHoklch(32.05% 0.098 299.4)
XYZxyz(4.4098, 2.9818, 10.6970)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B245D #465D24
analogous
#24295D #3B245D #58245D
triadic
#3B245D #5D3B24 #245D3B
tetradic
#3B245D #5D2429 #465D24 #245D58
square
#3B245D #5D2429 #465D24 #245D58
split-complementary
#3B245D #5D5824 #295D24
monochromatic
#0E0916 #1F1331 #3B245D #573589 #7346B5

Accessibility & contrast

On white

13.15
#3B245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3B245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B245D
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B245D#FFFFFF#000000##FFFFFF
##3B245D1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#34303C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3b245d;
/* rgb */ color: rgb(59, 36, 93);
/* oklch */ color: oklch(32.0% 0.098 299.4);
Tailwind
colors: {
  custom: {
    50: '#73608b',
    500: '#3b245d',
    950: '#000000',
  },
}
SCSS
$custom: #3b245d;
$custom-light: #73608b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b245d",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 264.211,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.09842,
    "h": 299.4
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#3B245D
secondary
#75914C
accent
#D454A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3B245D

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

Preview Lab → · Contrast checker → · Palette generator →

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