#381260#381260

#381260 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.128 H 300.6°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#381260
RGBrgb(56, 18, 96)
HSLhsl(269, 68%, 22%)
HSVhsv(269, 81%, 38%)
CMYKcmyk(41.7%, 81.3%, 0%, 62.4%)
CIE-LABlab(16.09, 34.97, -38.55)
CIE-LCHlch(16.09, 52.05, 312.21°)
OKLaboklab(29.25% 0.0652 -0.1101)
OKLCHoklch(29.25% 0.128 300.6)
XYZxyz(3.9580, 2.1179, 11.2643)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381260 #3A6012
analogous
#121360 #381260 #5F1260
triadic
#381260 #603812 #126038
tetradic
#381260 #601213 #3A6012 #12605F
square
#381260 #601213 #3A6012 #12605F
split-complementary
#381260 #605F12 #136012
monochromatic
#0F051A #1A082C #381260 #561C94 #7425C7

Accessibility & contrast

On white

14.75
#381260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#381260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381260
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381260#FFFFFF#000000##FFFFFF
##3812601.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#2F2638
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #381260;
/* rgb */ color: rgb(56, 18, 96);
/* oklch */ color: oklch(29.2% 0.128 300.6);
Tailwind
colors: {
  custom: {
    50: '#73558e',
    500: '#381260',
    950: '#000000',
  },
}
SCSS
$custom: #381260;
$custom-light: #73558e;
$custom-dark: #000000;
JSON
{
  "hex": "#381260",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 269.231,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29249,
    "c": 0.12799,
    "h": 300.6
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#381260
secondary
#689836
accent
#EB3D96
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381260

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

Preview Lab → · Contrast checker → · Palette generator →

#381260 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva