#3B268F#3B268F

#3B268F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.162 H 284.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3B268F
RGBrgb(59, 38, 143)
HSLhsl(252, 58%, 35%)
HSVhsv(252, 73%, 56%)
CMYKcmyk(58.7%, 73.4%, 0%, 43.9%)
CIE-LABlab(24.64, 38.86, -54.68)
CIE-LCHlch(24.64, 67.08, 305.40°)
OKLaboklab(36.73% 0.0398 -0.1574)
OKLCHoklch(36.73% 0.162 284.2)
XYZxyz(7.4532, 4.2987, 26.4183)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B268F #7A8F26
analogous
#26458F #3B268F #6F268F
triadic
#3B268F #8F3B26 #268F3B
tetradic
#3B268F #8F2645 #7A8F26 #268F6F
square
#3B268F #8F2645 #7A8F26 #268F6F
split-complementary
#3B268F #8F6F26 #458F26
monochromatic
#130C2E #27195F #3B268F #4F33BF #745CD4

Accessibility & contrast

On white

11.29
#3B268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3B268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B268F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B268F#FFFFFF#000000##FFFFFF
##3B268F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b268f;
/* rgb */ color: rgb(59, 38, 143);
/* oklch */ color: oklch(36.7% 0.162 284.2);
Tailwind
colors: {
  custom: {
    50: '#7b63b1',
    500: '#3b268f',
    950: '#000000',
  },
}
SCSS
$custom: #3b268f;
$custom-light: #7b63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b268f",
  "rgb": {
    "r": 59,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 252,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.1624,
    "h": 284.2
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#3B268F
secondary
#A5B958
accent
#E147C2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B268F

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

Preview Lab → · Contrast checker → · Palette generator →

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