#261578#261578

#261578 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.155 H 279.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#261578
RGBrgb(38, 21, 120)
HSLhsl(250, 70%, 28%)
HSVhsv(250, 83%, 47%)
CMYKcmyk(68.3%, 82.5%, 0%, 52.9%)
CIE-LABlab(17.01, 38.02, -52.80)
CIE-LCHlch(17.01, 65.07, 305.75°)
OKLaboklab(30.15% 0.0257 -0.1525)
OKLCHoklch(30.15% 0.155 279.5)
XYZxyz(4.4566, 2.3041, 17.9755)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261578 #677815
analogous
#153578 #261578 #571578
triadic
#261578 #782615 #157826
tetradic
#261578 #781535 #677815 #157857
square
#261578 #781535 #677815 #157857
split-complementary
#261578 #785715 #357815
monochromatic
#08051A #160C44 #261578 #361EAC #4B2DDA

Accessibility & contrast

On white

14.38
#261578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#261578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261578
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261578#FFFFFF#000000##FFFFFF
##2615781.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261578;
/* rgb */ color: rgb(38, 21, 120);
/* oklch */ color: oklch(30.2% 0.155 279.5);
Tailwind
colors: {
  custom: {
    50: '#6d56a0',
    500: '#261578',
    950: '#000000',
  },
}
SCSS
$custom: #261578;
$custom-light: #6d56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#261578",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 250.303,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30155,
    "c": 0.15461,
    "h": 279.5
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#261578
secondary
#9AAE3B
accent
#ED3BCE
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261578

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

Preview Lab → · Contrast checker → · Palette generator →

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