#261478#261478

#261478 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.156 H 279.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#261478
RGBrgb(38, 20, 120)
HSLhsl(251, 71%, 27%)
HSVhsv(251, 83%, 47%)
CMYKcmyk(68.3%, 83.3%, 0%, 52.9%)
CIE-LABlab(16.84, 38.52, -53.09)
CIE-LCHlch(16.84, 65.59, 305.96°)
OKLaboklab(30.04% 0.0262 -0.1533)
OKLCHoklch(30.04% 0.156 279.7)
XYZxyz(4.4386, 2.2681, 17.9695)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261478 #667814
analogous
#143478 #261478 #581478
triadic
#261478 #782614 #147826
tetradic
#261478 #781434 #667814 #147858
square
#261478 #781434 #667814 #147858
split-complementary
#261478 #785814 #347814
monochromatic
#08041A #150B44 #261478 #371DAC #4B2BDC

Accessibility & contrast

On white

14.45
#261478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#261478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261478
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261478#FFFFFF#000000##FFFFFF
##2614781.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261478;
/* rgb */ color: rgb(38, 20, 120);
/* oklch */ color: oklch(30.0% 0.156 279.7);
Tailwind
colors: {
  custom: {
    50: '#6e55a0',
    500: '#261478',
    950: '#000000',
  },
}
SCSS
$custom: #261478;
$custom-light: #6e55a0;
$custom-dark: #000000;
JSON
{
  "hex": "#261478",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 250.8,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.15551,
    "h": 279.7
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#261478
secondary
#99AE3A
accent
#EE3ACE
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261478

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

Preview Lab → · Contrast checker → · Palette generator →

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