#3D267B#3D267B

#3D267B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.136 H 290.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3D267B
RGBrgb(61, 38, 123)
HSLhsl(256, 53%, 32%)
HSVhsv(256, 69%, 48%)
CMYKcmyk(50.4%, 69.1%, 0%, 51.8%)
CIE-LABlab(23.03, 32.97, -44.76)
CIE-LCHlch(23.03, 55.59, 306.37°)
OKLaboklab(35.07% 0.0466 -0.1283)
OKLCHoklch(35.07% 0.136 290)
XYZxyz(6.1917, 3.8081, 19.1439)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D267B #647B26
analogous
#263A7B #3D267B #68267B
triadic
#3D267B #7B3D26 #267B3D
tetradic
#3D267B #7B263A #647B26 #267B68
square
#3D267B #7B263A #647B26 #267B68
split-complementary
#3D267B #7B6826 #3A7B26
monochromatic
#0F091D #26184C #3D267B #5434AA #7252CA

Accessibility & contrast

On white

11.92
#3D267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D267B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D267B#FFFFFF#000000##FFFFFF
##3D267B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#283B4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d267b;
/* rgb */ color: rgb(61, 38, 123);
/* oklch */ color: oklch(35.1% 0.136 290.0);
Tailwind
colors: {
  custom: {
    50: '#7962a2',
    500: '#3d267b',
    950: '#000000',
  },
}
SCSS
$custom: #3d267b;
$custom-light: #7962a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d267b",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 256.235,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35071,
    "c": 0.13645,
    "h": 290
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#3D267B
secondary
#94AD50
accent
#DC4CB5
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3D267B

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

Preview Lab → · Contrast checker → · Palette generator →

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