#3B255D#3B255D

#3B255D is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.2% C 0.097 H 299.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3B255D
RGBrgb(59, 37, 93)
HSLhsl(264, 43%, 25%)
HSVhsv(264, 60%, 36%)
CMYKcmyk(36.6%, 60.2%, 0%, 63.5%)
CIE-LABlab(20.22, 23.98, -29.87)
CIE-LCHlch(20.22, 38.31, 308.75°)
OKLaboklab(32.23% 0.0469 -0.0846)
OKLCHoklch(32.23% 0.097 299)
XYZxyz(4.4405, 3.0432, 10.7073)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B255D #475D25
analogous
#252B5D #3B255D #57255D
triadic
#3B255D #5D3B25 #255D3B
tetradic
#3B255D #5D252B #475D25 #255D57
square
#3B255D #5D252B #475D25 #255D57
split-complementary
#3B255D #5D5725 #2B5D25
monochromatic
#0E0916 #1F1431 #3B255D #573689 #7348B5

Accessibility & contrast

On white

13.05
#3B255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3B255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B255D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B255D#FFFFFF#000000##FFFFFF
##3B255D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C315F
Deuteranopia (green-blind)
#14305C
Tritanopia (blue-blind)
#34303D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b255d;
/* rgb */ color: rgb(59, 37, 93);
/* oklch */ color: oklch(32.2% 0.097 299.0);
Tailwind
colors: {
  custom: {
    50: '#73608b',
    500: '#3b255d',
    950: '#000000',
  },
}
SCSS
$custom: #3b255d;
$custom-light: #73608b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b255d",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 263.571,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32229,
    "c": 0.09672,
    "h": 299
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#3B255D
secondary
#76904D
accent
#D355A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3B255D

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

Preview Lab → · Contrast checker → · Palette generator →

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