#25146C#25146C

#25146C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.141 H 281.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#25146C
RGBrgb(37, 20, 108)
HSLhsl(252, 69%, 25%)
HSVhsv(252, 81%, 42%)
CMYKcmyk(65.7%, 81.5%, 0%, 57.6%)
CIE-LABlab(15.36, 34.57, -47.76)
CIE-LCHlch(15.36, 58.95, 305.90°)
OKLaboklab(28.58% 0.0284 -0.1378)
OKLCHoklch(28.58% 0.141 281.6)
XYZxyz(3.7190, 1.9761, 14.3699)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25146C #5B6C14
analogous
#142F6C #25146C #51146C
triadic
#25146C #6C2514 #146C25
tetradic
#25146C #6C142F #5B6C14 #146C51
square
#25146C #6C142F #5B6C14 #146C51
split-complementary
#25146C #6C5114 #2F6C14
monochromatic
#09051A #130A38 #25146C #371EA0 #4827D3

Accessibility & contrast

On white

15.05
#25146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#25146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25146C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25146C#FFFFFF#000000##FFFFFF
##25146C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25146c;
/* rgb */ color: rgb(37, 20, 108);
/* oklch */ color: oklch(28.6% 0.141 281.6);
Tailwind
colors: {
  custom: {
    50: '#6a5497',
    500: '#25146c',
    950: '#000000',
  },
}
SCSS
$custom: #25146c;
$custom-light: #6a5497;
$custom-dark: #000000;
JSON
{
  "hex": "#25146c",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 251.591,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28577,
    "c": 0.14066,
    "h": 281.6
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#25146C
secondary
#8EA339
accent
#EC3CCA
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25146C

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

Preview Lab → · Contrast checker → · Palette generator →

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