#3D1253#3D1253

#3D1253 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.8% C 0.115 H 311.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#3D1253
RGBrgb(61, 18, 83)
HSLhsl(280, 64%, 20%)
HSVhsv(280, 78%, 33%)
CMYKcmyk(26.5%, 78.3%, 0%, 67.5%)
CIE-LABlab(15.74, 32.66, -30.35)
CIE-LCHlch(15.74, 44.58, 317.10°)
OKLaboklab(28.81% 0.076 -0.0858)
OKLCHoklch(28.81% 0.115 311.5)
XYZxyz(3.7018, 2.0493, 8.3825)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1253 #285312
analogous
#1C1253 #3D1253 #531249
triadic
#3D1253 #533D12 #12533D
tetradic
#3D1253 #531C12 #285312 #124953
square
#3D1253 #531C12 #285312 #124953
split-complementary
#3D1253 #495312 #12531C
monochromatic
#120519 #180721 #3D1253 #621D85 #8728B8

Accessibility & contrast

On white

14.90
#3D1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1253
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1253#FFFFFF#000000##FFFFFF
##3D12531.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#092852
Tritanopia (blue-blind)
#3A2031
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1253;
/* rgb */ color: rgb(61, 18, 83);
/* oklch */ color: oklch(28.8% 0.115 311.5);
Tailwind
colors: {
  custom: {
    50: '#755484',
    500: '#3d1253',
    950: '#000000',
  },
}
SCSS
$custom: #3d1253;
$custom-light: #755484;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1253",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 279.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28814,
    "c": 0.11463,
    "h": 311.5
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#3D1253
secondary
#528C35
accent
#E74079
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1253

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

Preview Lab → · Contrast checker → · Palette generator →

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