#3A269C#3A269C

#3A269C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.179 H 281.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3A269C
RGBrgb(58, 38, 156)
HSLhsl(250, 61%, 38%)
HSVhsv(250, 76%, 61%)
CMYKcmyk(62.8%, 75.6%, 0%, 38.8%)
CIE-LABlab(25.82, 42.79, -60.74)
CIE-LCHlch(25.82, 74.30, 305.16°)
OKLaboklab(37.93% 0.0354 -0.1752)
OKLCHoklch(37.93% 0.179 281.4)
XYZxyz(8.4369, 4.6855, 31.9058)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A269C #889C26
analogous
#264D9C #3A269C #75269C
triadic
#3A269C #9C3A26 #269C3A
tetradic
#3A269C #9C264D #889C26 #269C75
square
#3A269C #9C264D #889C26 #269C75
split-complementary
#3A269C #9C7526 #4D9C26
monochromatic
#150E3A #281A6B #3A269C #4C32CD #7763D9

Accessibility & contrast

On white

10.84
#3A269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A269C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A269C#FFFFFF#000000##FFFFFF
##3A269C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a269c;
/* rgb */ color: rgb(58, 38, 156);
/* oklch */ color: oklch(37.9% 0.179 281.4);
Tailwind
colors: {
  custom: {
    50: '#7d63ba',
    500: '#3a269c',
    950: '#000000',
  },
}
SCSS
$custom: #3a269c;
$custom-light: #7d63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a269c",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 250.169,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.17873,
    "h": 281.4
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#3A269C
secondary
#AEBF5F
accent
#E444C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A269C

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

Preview Lab → · Contrast checker → · Palette generator →

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