#261575#261575

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

Color values

HEX#261575
RGBrgb(38, 21, 117)
HSLhsl(251, 70%, 27%)
HSVhsv(251, 82%, 46%)
CMYKcmyk(67.5%, 82.1%, 0%, 54.1%)
CIE-LABlab(16.66, 37.06, -51.45)
CIE-LCHlch(16.66, 63.41, 305.77°)
OKLaboklab(29.81% 0.0266 -0.1485)
OKLCHoklch(29.81% 0.151 280.1)
XYZxyz(4.2774, 2.2324, 17.0317)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261575 #647515
analogous
#153475 #261575 #561575
triadic
#261575 #752615 #157526
tetradic
#261575 #751534 #647515 #157556
square
#261575 #751534 #647515 #157556
split-complementary
#261575 #755615 #347515
monochromatic
#08051A #150C41 #261575 #371EA9 #4A2BD9

Accessibility & contrast

On white

14.52
#261575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261575
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261575#FFFFFF#000000##FFFFFF
##2615751.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261575;
/* rgb */ color: rgb(38, 21, 117);
/* oklch */ color: oklch(29.8% 0.151 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d569e',
    500: '#261575',
    950: '#000000',
  },
}
SCSS
$custom: #261575;
$custom-light: #6d569e;
$custom-dark: #000000;
JSON
{
  "hex": "#261575",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 250.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.15087,
    "h": 280.1
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#261575
secondary
#97AB3B
accent
#EC3BCD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #261575

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

Preview Lab → · Contrast checker → · Palette generator →

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