#25136C#25136C

#25136C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.142 H 281.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#25136C
RGBrgb(37, 19, 108)
HSLhsl(252, 70%, 25%)
HSVhsv(252, 82%, 42%)
CMYKcmyk(65.7%, 82.4%, 0%, 57.6%)
CIE-LABlab(15.18, 35.10, -48.06)
CIE-LCHlch(15.18, 59.51, 306.14°)
OKLaboklab(28.45% 0.029 -0.1386)
OKLCHoklch(28.45% 0.142 281.8)
XYZxyz(3.7017, 1.9415, 14.3641)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25136C #5A6C13
analogous
#132D6C #25136C #52136C
triadic
#25136C #6C2513 #136C25
tetradic
#25136C #6C132D #5A6C13 #136C52
square
#25136C #6C132D #5A6C13 #136C52
split-complementary
#25136C #6C5213 #2D6C13
monochromatic
#09051A #130A38 #25136C #371CA0 #4925D4

Accessibility & contrast

On white

15.13
#25136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#25136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25136C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25136C#FFFFFF#000000##FFFFFF
##25136C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25136c;
/* rgb */ color: rgb(37, 19, 108);
/* oklch */ color: oklch(28.4% 0.142 281.8);
Tailwind
colors: {
  custom: {
    50: '#6a5497',
    500: '#25136c',
    950: '#000000',
  },
}
SCSS
$custom: #25136c;
$custom-light: #6a5497;
$custom-dark: #000000;
JSON
{
  "hex": "#25136c",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 252.135,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28448,
    "c": 0.14165,
    "h": 281.8
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#25136C
secondary
#8DA338
accent
#ED3BC9
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25136C

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

Preview Lab → · Contrast checker → · Palette generator →

#25136C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva