#261964#261964

#261964 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.124 H 283.1°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#261964
RGBrgb(38, 25, 100)
HSLhsl(250, 60%, 25%)
HSVhsv(250, 75%, 39%)
CMYKcmyk(62%, 75%, 0%, 60.8%)
CIE-LABlab(15.63, 29.16, -42.05)
CIE-LCHlch(15.63, 51.17, 304.74°)
OKLaboklab(28.53% 0.0282 -0.1211)
OKLCHoklch(28.53% 0.124 283.1)
XYZxyz(3.4465, 2.0272, 12.2638)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261964 #576419
analogous
#193264 #261964 #4C1964
triadic
#261964 #642619 #196426
tetradic
#261964 #641932 #576419 #19644C
square
#261964 #641932 #576419 #19644C
split-complementary
#261964 #644C19 #326419
monochromatic
#090618 #130D33 #261964 #392595 #4B31C6

Accessibility & contrast

On white

14.94
#261964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261964
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261964#FFFFFF#000000##FFFFFF
##2619641.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#032D3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261964;
/* rgb */ color: rgb(38, 25, 100);
/* oklch */ color: oklch(28.5% 0.124 283.1);
Tailwind
colors: {
  custom: {
    50: '#695791',
    500: '#261964',
    950: '#000000',
  },
}
SCSS
$custom: #261964;
$custom-light: #695791;
$custom-dark: #000000;
JSON
{
  "hex": "#261964",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 250.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28533,
    "c": 0.12434,
    "h": 283.1
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#261964
secondary
#8A9A3F
accent
#E345C8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #261964

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

Preview Lab → · Contrast checker → · Palette generator →

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