#261270#261270

#261270 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.147 H 281.7°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#261270
RGBrgb(38, 18, 112)
HSLhsl(253, 72%, 25%)
HSVhsv(253, 84%, 44%)
CMYKcmyk(66.1%, 83.9%, 0%, 56.1%)
CIE-LABlab(15.56, 36.99, -50.03)
CIE-LCHlch(15.56, 62.22, 306.48°)
OKLaboklab(28.88% 0.0299 -0.1443)
OKLCHoklch(28.88% 0.147 281.7)
XYZxyz(3.9393, 2.0142, 15.5073)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261270 #5C7012
analogous
#122D70 #261270 #551270
triadic
#261270 #702612 #127026
tetradic
#261270 #70122D #5C7012 #127055
square
#261270 #70122D #5C7012 #127055
split-complementary
#261270 #705512 #2D7012
monochromatic
#09041A #140A3B #261270 #381AA5 #4A23D9

Accessibility & contrast

On white

14.97
#261270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#261270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261270
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261270#FFFFFF#000000##FFFFFF
##2612701.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261270;
/* rgb */ color: rgb(38, 18, 112);
/* oklch */ color: oklch(28.9% 0.147 281.7);
Tailwind
colors: {
  custom: {
    50: '#6c549a',
    500: '#261270',
    950: '#000000',
  },
}
SCSS
$custom: #261270;
$custom-light: #6c549a;
$custom-dark: #000000;
JSON
{
  "hex": "#261270",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 252.766,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28877,
    "c": 0.14741,
    "h": 281.7
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#261270
secondary
#8FA737
accent
#EF39C8
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261270

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

Preview Lab → · Contrast checker → · Palette generator →

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