#261374#261374

#261374 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.151 H 280.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#261374
RGBrgb(38, 19, 116)
HSLhsl(252, 72%, 26%)
HSVhsv(252, 84%, 45%)
CMYKcmyk(67.2%, 83.6%, 0%, 54.5%)
CIE-LABlab(16.20, 37.76, -51.57)
CIE-LCHlch(16.20, 63.91, 306.21°)
OKLaboklab(29.46% 0.028 -0.1488)
OKLCHoklch(29.46% 0.151 280.7)
XYZxyz(4.1836, 2.1384, 16.7119)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261374 #617413
analogous
#133174 #261374 #571374
triadic
#261374 #742613 #137426
tetradic
#261374 #741331 #617413 #137457
square
#261374 #741331 #617413 #137457
split-complementary
#261374 #745713 #317413
monochromatic
#09041A #150A3F #261374 #371CA9 #4A26DB

Accessibility & contrast

On white

14.71
#261374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#261374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261374
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261374#FFFFFF#000000##FFFFFF
##2613741.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261374;
/* rgb */ color: rgb(38, 19, 116);
/* oklch */ color: oklch(29.5% 0.151 280.7);
Tailwind
colors: {
  custom: {
    50: '#6d549d',
    500: '#261374',
    950: '#000000',
  },
}
SCSS
$custom: #261374;
$custom-light: #6d549d;
$custom-dark: #000000;
JSON
{
  "hex": "#261374",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 251.753,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29455,
    "c": 0.15146,
    "h": 280.7
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#261374
secondary
#94AA38
accent
#EF39CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #261374

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

Preview Lab → · Contrast checker → · Palette generator →

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