#230D58#230D58

#230D58 is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.2% C 0.123 H 287.3°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#230D58
RGBrgb(35, 13, 88)
HSLhsl(258, 74%, 20%)
HSVhsv(258, 85%, 35%)
CMYKcmyk(60.2%, 85.2%, 0%, 65.5%)
CIE-LABlab(11.62, 31.57, -40.63)
CIE-LCHlch(11.62, 51.46, 307.85°)
OKLaboklab(25.24% 0.0365 -0.117)
OKLCHoklch(25.24% 0.123 287.3)
XYZxyz(2.5980, 1.3496, 9.3542)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D58 #42580D
analogous
#0D1D58 #230D58 #490D58
triadic
#230D58 #58230D #0D5823
tetradic
#230D58 #580D1D #42580D #0D5849
square
#230D58 #580D1D #42580D #0D5849
split-complementary
#230D58 #58490D #1D580D
monochromatic
#0B041B #0E0523 #230D58 #38158D #4D1DC3

Accessibility & contrast

On white

16.54
#230D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#230D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D58
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D58#FFFFFF#000000##FFFFFF
##230D581.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#0B2333
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #230d58;
/* rgb */ color: rgb(35, 13, 88);
/* oklch */ color: oklch(25.2% 0.123 287.3);
Tailwind
colors: {
  custom: {
    50: '#664f88',
    500: '#230d58',
    950: '#000000',
  },
}
SCSS
$custom: #230d58;
$custom-light: #664f88;
$custom-dark: #000000;
JSON
{
  "hex": "#230d58",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 257.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25241,
    "c": 0.12253,
    "h": 287.3
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#230D58
secondary
#75932E
accent
#F137BA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230D58

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

Preview Lab → · Contrast checker → · Palette generator →

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