#3D269E#3D269E

#3D269E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.181 H 282.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3D269E
RGBrgb(61, 38, 158)
HSLhsl(252, 61%, 38%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(61.4%, 75.9%, 0%, 38%)
CIE-LABlab(26.29, 43.79, -61.17)
CIE-LCHlch(26.29, 75.23, 305.60°)
OKLaboklab(38.39% 0.0393 -0.1764)
OKLCHoklch(38.39% 0.181 282.6)
XYZxyz(8.7872, 4.8463, 32.8135)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D269E #879E26
analogous
#264B9E #3D269E #79269E
triadic
#3D269E #9E3D26 #269E3D
tetradic
#3D269E #9E264B #879E26 #269E79
square
#3D269E #9E264B #879E26 #269E79
split-complementary
#3D269E #9E7926 #4B9E26
monochromatic
#170E3B #2A1A6D #3D269E #5133CE #7B65DA

Accessibility & contrast

On white

10.66
#3D269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D269E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D269E#FFFFFF#000000##FFFFFF
##3D269E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d269e;
/* rgb */ color: rgb(61, 38, 158);
/* oklch */ color: oklch(38.4% 0.181 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f63bc',
    500: '#3d269e',
    950: '#000000',
  },
}
SCSS
$custom: #3d269e;
$custom-light: #7f63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d269e",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 251.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38394,
    "c": 0.18069,
    "h": 282.6
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#3D269E
secondary
#ADC060
accent
#E443C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D269E

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

Preview Lab → · Contrast checker → · Palette generator →

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