#230F57#230F57

#230F57 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.119 H 287.2°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#230F57
RGBrgb(35, 15, 87)
HSLhsl(257, 71%, 20%)
HSVhsv(257, 83%, 34%)
CMYKcmyk(59.8%, 82.8%, 0%, 65.9%)
CIE-LABlab(11.87, 30.21, -39.54)
CIE-LCHlch(11.87, 49.76, 307.38°)
OKLaboklab(25.38% 0.0353 -0.1138)
OKLCHoklch(25.38% 0.119 287.2)
XYZxyz(2.5837, 1.3870, 9.1465)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F57 #43570F
analogous
#0F1F57 #230F57 #470F57
triadic
#230F57 #57230F #0F5723
tetradic
#230F57 #570F1F #43570F #0F5747
square
#230F57 #570F1F #43570F #0F5747
split-complementary
#230F57 #57470F #1F570F
monochromatic
#0B051A #0E0623 #230F57 #38188B #4D21BF

Accessibility & contrast

On white

16.44
#230F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#230F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F57
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F57#FFFFFF#000000##FFFFFF
##230F571.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#0C2332
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #230f57;
/* rgb */ color: rgb(35, 15, 87);
/* oklch */ color: oklch(25.4% 0.119 287.2);
Tailwind
colors: {
  custom: {
    50: '#655087',
    500: '#230f57',
    950: '#000000',
  },
}
SCSS
$custom: #230f57;
$custom-light: #655087;
$custom-dark: #000000;
JSON
{
  "hex": "#230f57",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 256.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.25383,
    "c": 0.11913,
    "h": 287.2
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#230F57
secondary
#769131
accent
#ED3ABC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230F57

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

Preview Lab → · Contrast checker → · Palette generator →

#230F57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva