#25135C#25135C

#25135C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.121 H 286.2°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#25135C
RGBrgb(37, 19, 92)
HSLhsl(255, 66%, 22%)
HSVhsv(255, 79%, 36%)
CMYKcmyk(59.8%, 79.3%, 0%, 63.9%)
CIE-LABlab(13.42, 29.91, -40.35)
CIE-LCHlch(13.42, 50.23, 306.54°)
OKLaboklab(26.69% 0.0338 -0.1161)
OKLCHoklch(26.69% 0.121 286.2)
XYZxyz(2.9270, 1.6316, 10.2838)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25135C #4A5C13
analogous
#13255C #25135C #4A135C
triadic
#25135C #5C2513 #135C25
tetradic
#25135C #5C1325 #4A5C13 #135C4A
square
#25135C #5C1325 #4A5C13 #135C4A
split-complementary
#25135C #5C4A13 #255C13
monochromatic
#0A0519 #110929 #25135C #391D8F #4E28C1

Accessibility & contrast

On white

15.83
#25135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#25135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25135C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25135C#FFFFFF#000000##FFFFFF
##25135C1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#0C2736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25135c;
/* rgb */ color: rgb(37, 19, 92);
/* oklch */ color: oklch(26.7% 0.121 286.2);
Tailwind
colors: {
  custom: {
    50: '#67538b',
    500: '#25135c',
    950: '#000000',
  },
}
SCSS
$custom: #25135c;
$custom-light: #67538b;
$custom-dark: #000000;
JSON
{
  "hex": "#25135c",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 254.795,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2669,
    "c": 0.12095,
    "h": 286.2
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#25135C
secondary
#7D9437
accent
#E93FBF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25135C

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

Preview Lab → · Contrast checker → · Palette generator →

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