#3E269C#3E269C

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

Color values

HEX#3E269C
RGBrgb(62, 38, 156)
HSLhsl(252, 61%, 38%)
HSVhsv(252, 76%, 61%)
CMYKcmyk(60.3%, 75.6%, 0%, 38.8%)
CIE-LABlab(26.19, 43.31, -60.12)
CIE-LCHlch(26.19, 74.10, 305.77°)
OKLaboklab(38.28% 0.0413 -0.1733)
OKLCHoklch(38.28% 0.178 283.4)
XYZxyz(8.6786, 4.8101, 31.9172)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E269C #849C26
analogous
#26499C #3E269C #79269C
triadic
#3E269C #9C3E26 #269C3E
tetradic
#3E269C #9C2649 #849C26 #269C79
square
#3E269C #9C2649 #849C26 #269C79
split-complementary
#3E269C #9C7926 #499C26
monochromatic
#170E3A #2A1A6B #3E269C #5232CD #7B63D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E269C#FFFFFF#000000##FFFFFF
##3E269C1.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)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e269c;
/* rgb */ color: rgb(62, 38, 156);
/* oklch */ color: oklch(38.3% 0.178 283.4);
Tailwind
colors: {
  custom: {
    50: '#7f63ba',
    500: '#3e269c',
    950: '#000000',
  },
}
SCSS
$custom: #3e269c;
$custom-light: #7f63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e269c",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 252.203,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.17812,
    "h": 283.4
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#3E269C
secondary
#ABBF5F
accent
#E444C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E269C

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

Preview Lab → · Contrast checker → · Palette generator →

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