#3D2E6F#3D2E6F

#3D2E6F is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.5% C 0.108 H 290.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3D2E6F
RGBrgb(61, 46, 111)
HSLhsl(254, 41%, 31%)
HSVhsv(254, 59%, 44%)
CMYKcmyk(45%, 58.6%, 0%, 56.5%)
CIE-LABlab(23.98, 24.19, -35.55)
CIE-LCHlch(23.98, 43.00, 304.23°)
OKLaboklab(35.47% 0.0377 -0.1012)
OKLCHoklch(35.47% 0.108 290.4)
XYZxyz(5.7699, 4.0936, 15.5220)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E6F #606F2E
analogous
#2E3F6F #3D2E6F #5D2E6F
triadic
#3D2E6F #6F3D2E #2E6F3D
tetradic
#3D2E6F #6F2E3F #606F2E #2E6F5D
square
#3D2E6F #6F2E3F #606F2E #2E6F5D
split-complementary
#3D2E6F #6F5D2E #3F6F2E
monochromatic
#0D0A18 #251C44 #3D2E6F #55409A #725CBB

Accessibility & contrast

On white

11.55
#3D2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D2E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E6F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E6F#FFFFFF#000000##FFFFFF
##3D2E6F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A71
Deuteranopia (green-blind)
#0E386E
Tritanopia (blue-blind)
#2F3C49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2e6f;
/* rgb */ color: rgb(61, 46, 111);
/* oklch */ color: oklch(35.5% 0.108 290.4);
Tailwind
colors: {
  custom: {
    50: '#766799',
    500: '#3d2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e6f;
$custom-light: #766799;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e6f",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 253.846,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.10798,
    "h": 290.4
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#3D2E6F
secondary
#90A058
accent
#D157B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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