#230F58#230F58

#230F58 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.120 H 286.9°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#230F58
RGBrgb(35, 15, 88)
HSLhsl(256, 71%, 20%)
HSVhsv(256, 83%, 35%)
CMYKcmyk(60.2%, 83%, 0%, 65.5%)
CIE-LABlab(11.98, 30.53, -40.04)
CIE-LCHlch(11.98, 50.35, 307.33°)
OKLaboklab(25.49% 0.035 -0.1152)
OKLCHoklch(25.49% 0.12 286.9)
XYZxyz(2.6249, 1.4034, 9.3632)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F58 #44580F
analogous
#0F2058 #230F58 #470F58
triadic
#230F58 #58230F #0F5823
tetradic
#230F58 #580F20 #44580F #0F5847
square
#230F58 #580F20 #44580F #0F5847
split-complementary
#230F58 #58470F #20580F
monochromatic
#0A041A #0E0624 #230F58 #38188C #4D21C1

Accessibility & contrast

On white

16.40
#230F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F58
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F58#FFFFFF#000000##FFFFFF
##230F581.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230f58;
/* rgb */ color: rgb(35, 15, 88);
/* oklch */ color: oklch(25.5% 0.120 286.9);
Tailwind
colors: {
  custom: {
    50: '#655088',
    500: '#230f58',
    950: '#000000',
  },
}
SCSS
$custom: #230f58;
$custom-light: #655088;
$custom-dark: #000000;
JSON
{
  "hex": "#230f58",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 256.438,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25493,
    "c": 0.12042,
    "h": 286.9
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#230F58
secondary
#779231
accent
#EE3ABC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230F58

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

Preview Lab → · Contrast checker → · Palette generator →

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