#3D236F#3D236F

#3D236F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.125 H 294.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#3D236F
RGBrgb(61, 35, 111)
HSLhsl(261, 52%, 29%)
HSVhsv(261, 68%, 44%)
CMYKcmyk(45%, 68.5%, 0%, 56.5%)
CIE-LABlab(21.36, 31.09, -39.78)
CIE-LCHlch(21.36, 50.49, 308.02°)
OKLaboklab(33.56% 0.0516 -0.1136)
OKLCHoklch(33.56% 0.125 294.4)
XYZxyz(5.3940, 3.3417, 15.3967)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D236F #556F23
analogous
#232F6F #3D236F #63236F
triadic
#3D236F #6F3D23 #236F3D
tetradic
#3D236F #6F232F #556F23 #236F63
square
#3D236F #6F232F #556F23 #236F63
split-complementary
#3D236F #6F6323 #2F6F23
monochromatic
#0D0717 #231440 #3D236F #57329E #7247C5

Accessibility & contrast

On white

12.59
#3D236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D236F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D236F#FFFFFF#000000##FFFFFF
##3D236F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#2F3545
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d236f;
/* rgb */ color: rgb(61, 35, 111);
/* oklch */ color: oklch(33.6% 0.125 294.4);
Tailwind
colors: {
  custom: {
    50: '#776099',
    500: '#3d236f',
    950: '#000000',
  },
}
SCSS
$custom: #3d236f;
$custom-light: #776099;
$custom-dark: #000000;
JSON
{
  "hex": "#3d236f",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 260.526,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33557,
    "c": 0.12477,
    "h": 294.4
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#3D236F
secondary
#85A24C
accent
#DB4CAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D236F

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

Preview Lab → · Contrast checker → · Palette generator →

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