#250F68#250F68

#250F68 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.140 H 283.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#250F68
RGBrgb(37, 15, 104)
HSLhsl(255, 75%, 23%)
HSVhsv(255, 86%, 41%)
CMYKcmyk(64.4%, 85.6%, 0%, 59.2%)
CIE-LABlab(14.03, 35.84, -47.34)
CIE-LCHlch(14.03, 59.37, 307.13°)
OKLaboklab(27.51% 0.0328 -0.1365)
OKLCHoklch(27.51% 0.14 283.5)
XYZxyz(3.4317, 1.7342, 13.2479)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F68 #52680F
analogous
#0F2668 #250F68 #510F68
triadic
#250F68 #68250F #0F6825
tetradic
#250F68 #680F26 #52680F #0F6851
square
#250F68 #680F26 #52680F #0F6851
split-complementary
#250F68 #68510F #26680F
monochromatic
#0A041B #120733 #250F68 #38179D #4B1ED3

Accessibility & contrast

On white

15.59
#250F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#250F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F68
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F68#FFFFFF#000000##FFFFFF
##250F681.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002A3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #250f68;
/* rgb */ color: rgb(37, 15, 104);
/* oklch */ color: oklch(27.5% 0.140 283.5);
Tailwind
colors: {
  custom: {
    50: '#6a5194',
    500: '#250f68',
    950: '#000000',
  },
}
SCSS
$custom: #250f68;
$custom-light: #6a5194;
$custom-dark: #000000;
JSON
{
  "hex": "#250f68",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 254.831,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27512,
    "c": 0.14039,
    "h": 283.5
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#250F68
secondary
#85A132
accent
#F136C3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #250F68

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

Preview Lab → · Contrast checker → · Palette generator →

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