#3B258F#3B258F

#3B258F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.164 H 284.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3B258F
RGBrgb(59, 37, 143)
HSLhsl(252, 59%, 35%)
HSVhsv(252, 74%, 56%)
CMYKcmyk(58.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(24.44, 39.42, -55.01)
CIE-LCHlch(24.44, 67.67, 305.62°)
OKLaboklab(36.59% 0.0407 -0.1584)
OKLCHoklch(36.59% 0.164 284.4)
XYZxyz(7.4216, 4.2357, 26.4078)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B258F #798F25
analogous
#25448F #3B258F #70258F
triadic
#3B258F #8F3B25 #258F3B
tetradic
#3B258F #8F2544 #798F25 #258F70
square
#3B258F #8F2544 #798F25 #258F70
split-complementary
#3B258F #8F7025 #448F25
monochromatic
#130C2E #27185E #3B258F #4F32C0 #735AD4

Accessibility & contrast

On white

11.37
#3B258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3B258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B258F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B258F#FFFFFF#000000##FFFFFF
##3B258F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#0E4258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b258f;
/* rgb */ color: rgb(59, 37, 143);
/* oklch */ color: oklch(36.6% 0.164 284.4);
Tailwind
colors: {
  custom: {
    50: '#7b62b1',
    500: '#3b258f',
    950: '#000000',
  },
}
SCSS
$custom: #3b258f;
$custom-light: #7b62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b258f",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 252.453,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.16354,
    "h": 284.4
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#3B258F
secondary
#A5B957
accent
#E246C2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B258F

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

Preview Lab → · Contrast checker → · Palette generator →

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