#3D267A#3D267A

#3D267A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.135 H 290.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3D267A
RGBrgb(61, 38, 122)
HSLhsl(256, 53%, 31%)
HSVhsv(256, 69%, 48%)
CMYKcmyk(50%, 68.9%, 0%, 52.2%)
CIE-LABlab(22.94, 32.66, -44.26)
CIE-LCHlch(22.94, 55.00, 306.42°)
OKLaboklab(34.98% 0.0467 -0.1268)
OKLCHoklch(34.98% 0.135 290.2)
XYZxyz(6.1294, 3.7832, 18.8159)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D267A #637A26
analogous
#26397A #3D267A #67267A
triadic
#3D267A #7A3D26 #267A3D
tetradic
#3D267A #7A2639 #637A26 #267A67
square
#3D267A #7A2639 #637A26 #267A67
split-complementary
#3D267A #7A6726 #397A26
monochromatic
#0E091D #26174B #3D267A #5435A9 #7251C9

Accessibility & contrast

On white

11.95
#3D267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3D267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D267A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D267A#FFFFFF#000000##FFFFFF
##3D267A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#293B4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d267a;
/* rgb */ color: rgb(61, 38, 122);
/* oklch */ color: oklch(35.0% 0.135 290.2);
Tailwind
colors: {
  custom: {
    50: '#7962a1',
    500: '#3d267a',
    950: '#000000',
  },
}
SCSS
$custom: #3d267a;
$custom-light: #7962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d267a",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 256.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34983,
    "c": 0.13513,
    "h": 290.2
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#3D267A
secondary
#93AC50
accent
#DC4CB4
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3D267A

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

Preview Lab → · Contrast checker → · Palette generator →

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