#3D269D#3D269D

#3D269D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.179 H 282.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3D269D
RGBrgb(61, 38, 157)
HSLhsl(252, 61%, 38%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(61.1%, 75.8%, 0%, 38.4%)
CIE-LABlab(26.19, 43.48, -60.73)
CIE-LCHlch(26.19, 74.69, 305.61°)
OKLaboklab(38.29% 0.0395 -0.1751)
OKLCHoklch(38.29% 0.179 282.7)
XYZxyz(8.7015, 4.8121, 32.3620)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D269D #869D26
analogous
#264A9D #3D269D #78269D
triadic
#3D269D #9D3D26 #269D3D
tetradic
#3D269D #9D264A #869D26 #269D78
square
#3D269D #9D264A #869D26 #269D78
split-complementary
#3D269D #9D7826 #4A9D26
monochromatic
#170E3A #2A1A6C #3D269D #5133CE #7B64D9

Accessibility & contrast

On white

10.70
#3D269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D269D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D269D#FFFFFF#000000##FFFFFF
##3D269D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d269d;
/* rgb */ color: rgb(61, 38, 157);
/* oklch */ color: oklch(38.3% 0.179 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f63bb',
    500: '#3d269d',
    950: '#000000',
  },
}
SCSS
$custom: #3d269d;
$custom-light: #7f63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d269d",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 251.597,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.17948,
    "h": 282.7
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#3D269D
secondary
#ADBF60
accent
#E444C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D269D

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

Preview Lab → · Contrast checker → · Palette generator →

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