#261476#261476

#261476 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.153 H 280.1°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#261476
RGBrgb(38, 20, 118)
HSLhsl(251, 71%, 27%)
HSVhsv(251, 83%, 46%)
CMYKcmyk(67.8%, 83.1%, 0%, 53.7%)
CIE-LABlab(16.60, 37.89, -52.19)
CIE-LCHlch(16.60, 64.50, 305.98°)
OKLaboklab(29.8% 0.0268 -0.1507)
OKLCHoklch(29.8% 0.153 280.1)
XYZxyz(4.3185, 2.2200, 17.3370)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261476 #647614
analogous
#143376 #261476 #571476
triadic
#261476 #762614 #147626
tetradic
#261476 #761433 #647614 #147657
square
#261476 #761433 #647614 #147657
split-complementary
#261476 #765714 #337614
monochromatic
#08041A #150B42 #261476 #371DAA #4A2ADB

Accessibility & contrast

On white

14.54
#261476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#261476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261476
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261476#FFFFFF#000000##FFFFFF
##2614761.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261476;
/* rgb */ color: rgb(38, 20, 118);
/* oklch */ color: oklch(29.8% 0.153 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d559f',
    500: '#261476',
    950: '#000000',
  },
}
SCSS
$custom: #261476;
$custom-light: #6d559f;
$custom-dark: #000000;
JSON
{
  "hex": "#261476",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 251.02,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29804,
    "c": 0.15304,
    "h": 280.1
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#261476
secondary
#97AC3A
accent
#EE3ACD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #261476

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

Preview Lab → · Contrast checker → · Palette generator →

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