#3E259B#3E259B

#3E259B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.178 H 283.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3E259B
RGBrgb(62, 37, 155)
HSLhsl(253, 61%, 38%)
HSVhsv(253, 76%, 61%)
CMYKcmyk(60%, 76.1%, 0%, 39.2%)
CIE-LABlab(25.90, 43.53, -59.98)
CIE-LCHlch(25.90, 74.11, 305.97°)
OKLaboklab(38.05% 0.0423 -0.1728)
OKLCHoklch(38.05% 0.178 283.7)
XYZxyz(8.5627, 4.7133, 31.4625)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E259B #829B25
analogous
#25479B #3E259B #79259B
triadic
#3E259B #9B3E25 #259B3E
tetradic
#3E259B #9B2547 #829B25 #259B79
square
#3E259B #9B2547 #829B25 #259B79
split-complementary
#3E259B #9B7925 #479B25
monochromatic
#160D38 #2A196A #3E259B #5231CC #7B61D9

Accessibility & contrast

On white

10.81
#3E259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E259B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E259B#FFFFFF#000000##FFFFFF
##3E259B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#02465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e259b;
/* rgb */ color: rgb(62, 37, 155);
/* oklch */ color: oklch(38.1% 0.178 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f63ba',
    500: '#3e259b',
    950: '#000000',
  },
}
SCSS
$custom: #3e259b;
$custom-light: #7f63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e259b",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 252.712,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.17793,
    "h": 283.7
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#3E259B
secondary
#AABF5D
accent
#E543C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E259B

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

Preview Lab → · Contrast checker → · Palette generator →

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