#230F60#230F60

#230F60 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.131 H 284.3°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#230F60
RGBrgb(35, 15, 96)
HSLhsl(255, 73%, 22%)
HSVhsv(255, 84%, 38%)
CMYKcmyk(63.5%, 84.4%, 0%, 62.4%)
CIE-LABlab(12.88, 33.08, -43.93)
CIE-LCHlch(12.88, 54.99, 306.98°)
OKLaboklab(26.39% 0.0323 -0.1266)
OKLCHoklch(26.39% 0.131 284.3)
XYZxyz(2.9746, 1.5433, 11.2052)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F60 #4C600F
analogous
#0F2460 #230F60 #4C0F60
triadic
#230F60 #60230F #0F6023
tetradic
#230F60 #600F24 #4C600F #0F604C
square
#230F60 #600F24 #4C600F #0F604C
split-complementary
#230F60 #604C0F #24600F
monochromatic
#0A041A #10072B #230F60 #361795 #4A20CA

Accessibility & contrast

On white

16.05
#230F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#230F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F60
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F60#FFFFFF#000000##FFFFFF
##230F601.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002738
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #230f60;
/* rgb */ color: rgb(35, 15, 96);
/* oklch */ color: oklch(26.4% 0.131 284.3);
Tailwind
colors: {
  custom: {
    50: '#67518e',
    500: '#230f60',
    950: '#000000',
  },
}
SCSS
$custom: #230f60;
$custom-light: #67518e;
$custom-dark: #000000;
JSON
{
  "hex": "#230f60",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 254.815,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26391,
    "c": 0.13067,
    "h": 284.3
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#230F60
secondary
#809932
accent
#F038C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #230F60

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

Preview Lab → · Contrast checker → · Palette generator →

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