#3B24AA#3B24AA

#3B24AA is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.197 H 280.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3B24AA
RGBrgb(59, 36, 170)
HSLhsl(250, 65%, 40%)
HSVhsv(250, 79%, 67%)
CMYKcmyk(65.3%, 78.8%, 0%, 33.3%)
CIE-LABlab(27.00, 48.22, -67.28)
CIE-LCHlch(27.00, 82.78, 305.63°)
OKLaboklab(39.22% 0.0344 -0.1942)
OKLCHoklch(39.22% 0.197 280)
XYZxyz(9.6879, 5.0931, 38.4949)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B24AA #93AA24
analogous
#2450AA #3B24AA #7E24AA
triadic
#3B24AA #AA3B24 #24AA3B
tetradic
#3B24AA #AA2450 #93AA24 #24AA7E
square
#3B24AA #AA2450 #93AA24 #24AA7E
split-complementary
#3B24AA #AA7E24 #50AA24
monochromatic
#180F45 #291977 #3B24AA #5237D5 #7D69DF

Accessibility & contrast

On white

10.40
#3B24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3B24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B24AA
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B24AA#FFFFFF#000000##FFFFFF
##3B24AA1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b24aa;
/* rgb */ color: rgb(59, 36, 170);
/* oklch */ color: oklch(39.2% 0.197 280.0);
Tailwind
colors: {
  custom: {
    50: '#8063c5',
    500: '#3b24aa',
    950: '#000000',
  },
}
SCSS
$custom: #3b24aa;
$custom-light: #8063c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b24aa",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 250.299,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.19726,
    "h": 280
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#3B24AA
secondary
#B5C565
accent
#E840CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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