#230F59#230F59

#230F59 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.122 H 286.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#230F59
RGBrgb(35, 15, 89)
HSLhsl(256, 71%, 20%)
HSVhsv(256, 83%, 35%)
CMYKcmyk(60.7%, 83.1%, 0%, 65.1%)
CIE-LABlab(12.09, 30.85, -40.53)
CIE-LCHlch(12.09, 50.93, 307.28°)
OKLaboklab(25.6% 0.0346 -0.1167)
OKLCHoklch(25.6% 0.122 286.5)
XYZxyz(2.6666, 1.4201, 9.5828)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F59 #45590F
analogous
#0F2059 #230F59 #480F59
triadic
#230F59 #59230F #0F5923
tetradic
#230F59 #590F20 #45590F #0F5948
square
#230F59 #590F20 #45590F #0F5948
split-complementary
#230F59 #59480F #20590F
monochromatic
#0A041A #0E0625 #230F59 #38188D #4C21C2

Accessibility & contrast

On white

16.36
#230F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F59
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F59#FFFFFF#000000##FFFFFF
##230F591.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#092434
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #230f59;
/* rgb */ color: rgb(35, 15, 89);
/* oklch */ color: oklch(25.6% 0.122 286.5);
Tailwind
colors: {
  custom: {
    50: '#665089',
    500: '#230f59',
    950: '#000000',
  },
}
SCSS
$custom: #230f59;
$custom-light: #665089;
$custom-dark: #000000;
JSON
{
  "hex": "#230f59",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 256.216,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25604,
    "c": 0.12172,
    "h": 286.5
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#230F59
secondary
#789331
accent
#EE3ABD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230F59

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

Preview Lab → · Contrast checker → · Palette generator →

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