#250F60#250F60

#250F60 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.130 H 285.9°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#250F60
RGBrgb(37, 15, 96)
HSLhsl(256, 73%, 22%)
HSVhsv(256, 84%, 38%)
CMYKcmyk(61.5%, 84.4%, 0%, 62.4%)
CIE-LABlab(13.10, 33.35, -43.55)
CIE-LCHlch(13.10, 54.85, 307.44°)
OKLaboklab(26.6% 0.0357 -0.1255)
OKLCHoklch(26.6% 0.13 285.9)
XYZxyz(3.0445, 1.5793, 11.2085)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F60 #4A600F
analogous
#0F2260 #250F60 #4E0F60
triadic
#250F60 #60250F #0F6025
tetradic
#250F60 #600F22 #4A600F #0F604E
square
#250F60 #600F22 #4A600F #0F604E
split-complementary
#250F60 #604E0F #22600F
monochromatic
#0A041A #11072B #250F60 #391795 #4E20CA

Accessibility & contrast

On white

15.96
#250F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#250F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F60
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F60#FFFFFF#000000##FFFFFF
##250F601.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#062738
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #250f60;
/* rgb */ color: rgb(37, 15, 96);
/* oklch */ color: oklch(26.6% 0.130 285.9);
Tailwind
colors: {
  custom: {
    50: '#68518e',
    500: '#250f60',
    950: '#000000',
  },
}
SCSS
$custom: #250f60;
$custom-light: #68518e;
$custom-dark: #000000;
JSON
{
  "hex": "#250f60",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 256.296,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26599,
    "c": 0.13044,
    "h": 285.9
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#250F60
secondary
#7D9932
accent
#F038BE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #250F60

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

Preview Lab → · Contrast checker → · Palette generator →

#250F60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva